This documentation is archived and is not being maintained.

OlSearchScope Enumeration

Specifies the scope in terms of folders for the search.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

public enum OlSearchScope

Member nameDescription
olSearchScopeCurrentFolderThe search scope will be only the folder represented by _Explorer.CurrentFolder.
olSearchScopeAllFoldersThe search scope will be across all folders that have the folder type of the current folder (MAPIFolder.DefaultItemType) and all stores that have been selected for search in the In Folder drop down menu.