Navigation:  OLE Automation > SearchFilter > Properties >

SpaceObServer.SearchFilter.Properties.MaxSize

Previous pageReturn to chapter overviewNext page

Description

Use this property to include only files with a maximum size.

 
Syntax

property MaxSize(SizeType : <Shortint>): <Integer>;

 
Example

SOS.SizeUnit = "MB"
SOS.Filter.MaxSize(3) = 50

Only files with a allocated space lower or equal 50 Mega Byte will be included in the file system tree and all exports (Except of the XML export).

 
Remarks

Permitted SizeType values are 2 (real size), 3 (allocated space) and 5 (wasted space). Find a list of all info types at OLE Information Type
The size unit of the filter is defined by the property SizeUnit.
This filter can be combined with the MinSize filter to include only files with sizes in a certain interval.