SearchScope Object and the SearchScopes
The SearchScopeobject represents an individual top-level area in the SearchScopescollection object
that can be searched when using the FileSearchobject. The SearchScopescollection object contains
the list of top-level searchable areas when performing a File Search using the FileSearchobject. Top-
level areas include My Computer, My Network Places, Outlook (folders), and Custom, if available. You
will note that although these objects are meant to be used with the FileSearchobject, the FileSearch
object is no longer part of the Office 2007 object model.
SearchScopes Collection Properties
The Application, Count, and Creatorproperties are defined at the beginning of this appendix.
Returns a SearchScopeobject that
corresponds to an area in which to
perform a file search, such as local
drives or Microsoft Outlook folders.
The Applicationand Creatorproperties are defined at the beginning of this appendix.
Read-only. Returns a ScopeFolderobject.
Read-only. Returns a value that corresponds to the type of
SearchScopeobject. The type indicates the area in which
the Executemethod of the FileSearchobject will search
The SharedWorkspaceproperty returns a SharedWorkspaceobject that allows the developer to add
the active document to a Microsoft Windows SharePoint Services document workspace on the server,
and to manage other objects in the shared workspace.
The Application, Creator, and Parentproperties are defined at the beginning of this appendix.
Read-only. Indicates if the current document is saved in
and connected to a workspace.
SearchScope Object and the SearchScopes Collection Object