ScopeFolders Collection

Microsoft Office Object Model

ScopeFolders Collection

         
ScopeFolder ScopeFolders
ScopeFolder

A collection of ScopeFolder objects. Only ScopeFolder objects contain ScopeFolders collections. Each ScopeFolders collection contains the ScopeFolder objects that correspond to the subfolders of the parent ScopeFolder object.

Using the ScopeFolders collection

Use the ScopeFolders property of the ScopeFolder object to return a ScopeFolders collection.

Dim sfs as ScopeFolders
Set sfs = Application.FileSearch.SearchScopes.Item(1).ScopeFolder.ScopeFolders

You can't add or remove ScopeFolder objects from a ScopeFolders collection.