Navigation:  OLE Automation > Application > Properties >

SpaceObServer.Application.Properties.SizeDistributionCount

Previous pageReturn to chapter overviewNext page

Description

Returns the number of intervals that are configured for the "Size Distribution" statistics.

 
Syntax

property SizeDistributionCount: <Boolean>; (read only)

 
Example

RootDirecotyID = SOS.RootFolderID
Index = 0
Do While Index<SOS.SizeDistributionCount                                                                                        
 SOS.GetSizeDistributionValue RootDirecotyID, Index, AllocatedSpace, NumberOfFiles
 ...
 Index = Index+1        
Loop

Loops over all "Size Distribution" intervals of the currently activated root directory and queries the allocated space and number of files for each single interval.