collection.
expression.SearchFolders
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example displays the current number of ScopeFolder objects in the SearchFolders collection. See the SearchFolders collection topic for a more detailed example.
MsgBox "Number of ScopeFolder objects in the SearchFolders collection: " & _
Application.FileSearch.SearchFolders.Count