OlSearchScope Enumeration

Outlook Developer Reference

Specifies the scope in terms of folders for the search.

Version Information
 Version Added:  Outlook 2007

Name Value Description
olSearchScopeAllFolders 1 The search scope will be across all folders that have the folder type of the current folder (Explorer.CurrentFolder.DefaultItemType) and all stores that have been selected for search in the In Folder drop down menu.
olSearchScopeCurrentFolder 0 The search scope will be only the folder represented by Explorer.CurrentFolder.