ISearchCrawlScopeManager Interface

Provides methods that notify the search engine of containers to crawl and/or watch, and items under those containers to include or exclude when crawling or watching.

ISearchCrawlScopeManager Members

AddDefaultScopeRule Adds a URL as the default scope for this rule.
AddHierarchicalScope Adds a hierarchical scope to the search engine.
AddRoot Adds a new search root to the search engine.
AddUserScopeRule Adds a new crawl scope rule when the user creates a new rule or adds a URL to be indexed.
EnumerateRoots Returns an enumeration of all the roots of which this instance of the ISearchCrawlScopeManager is aware.
EnumerateScopeRules Returns an enumeration of all the scope rules of which this instance of the ISearchCrawlScopeManager interface is aware.
GetParentScopeVersionId Gets the version ID of the parent inclusion URL.
HasChildScopeRule Identifies whether a given URL has a child rule in scope.
HasParentScopeRule Identifies whether a given URL has a parent rule in scope.
IncludedInCrawlScope Retrieves an indicator of whether the specified URL is included in the crawl scope.
IncludedInCrawlScopeEx Retrieves an indicator of whether and why the specified URL is included in the crawl scope.
RemoveDefaultScopeRule Removes a default scope rule from the search engine.
RemoveRoot Removes a search root from the search engine.
RemoveScopeRule Removes a scope rule from the search engine.
RevertToDefaultScopes Reverts to the default scopes.
SaveAll Commits all changes to the search engine.

Remarks

Windows 7 and later: the CrawlScopeCommandLine code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to define command line options for Crawl Scope Manager (CSM) indexing operations.

Interface Information

Inherits from IUnknown
Header and IDL files searchapi.h, searchcrawlscopemanager.idl
Minimum operating systems Windows XP Service Pack 2 (SP2) with Windows Desktop Search (WDS) 3.0, Windows Server 2003 Service Pack 1 (SP1) with Windows Desktop Search (WDS) 3.0, Windows Vista

See Also

Using the Crawl Scope Manager, The Indexing Process