|Outlook Developer Reference|
Returns a Boolean indicating whether the scope of the specified search included the subfolders of any folders searched. Read-only.
expression A variable that represents a Search object.
This property is determined by the
argument of the AdvancedSearch method and is specified when the search is initiated. If True, the Search object searches through any subfolders in the specified filter path.
The following Microsoft Visual Basic/Visual Basic for Applications (VBA) example creates a Search object. The user's Inbox is specified as the scope of the search and the SearchSubFolders property is set to True. The event subroutine fires when the search has completed and displays the Tag and Scope properties for the new object as well as the results of the search.
|Visual Basic for Applications|