SpaceObServer.SearchFilter.Properties.MatchAllFilters

<< Zum Inhaltsverzeichnis >>

Navigation:  OLE Automation > SearchFilter > Properties >

SpaceObServer.SearchFilter.Properties.MatchAllFilters

Description

This property indicates if files have to match all the filter criteria or just one of them.

 
Syntax

property MatchAllFilters: <Boolean>;

 
Example

PowerShell:

$SOS.Filter.IncludePattern = "*.exe"
$SOS.Filter.IncludeAttributes = "S"
$SOS.Filter.MatchAllFilters = $False

VBS:

SOS.Filter.IncludePattern = "*.exe"
SOS.Filter.IncludeAttributes = "S"
SOS.Filter.MatchAllFilters = False

The filter will include all files with the extensions ".exe" and/or where the file attribute "System" is set.
When setting the MatchAllFilters property to True, only files where both criteria matches would be included.

 
Remarks

The default value of this property is True.