SpaceObServer.SearchFilter.Methodes.Clear

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > SearchFilter > Methodes >

SpaceObServer.SearchFilter.Methodes.Clear

Description

Clears all former activated filter settings.

 
Syntax

Clear
 

Example

PowerShell:

$SOS.SizeUnit = "MB"
$SOS.Filter.FolderMinSize = 100
$SOS.Print($True, $True, $True)
$SOS.Filter.Clear
§SOS.PDFExport("C:\Temp\SOS\full_export.pdf", $True, $True, $True)

VBS::

SOS.SizeUnit = "MB"
SOS.Filter.FolderMinSize = 100
SOS.Print True, True, True
SOS.Filter.Clear
SOS.PDFExport "C:\Temp\SOS\full_export.pdf", True, True, True

Prints a report of the selected directory branch including only subdirectories with a minimum size of 100 Mega Byte.
After the printing, the filter is cleared again, so the pdf export will include all sub directories.