Share via


ISearchCrawlScopeManager::RevertToDefaultScopes Method

Reverts to the default scopes.

Syntax

HRESULT RevertToDefaultScopes(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method removes all user-defined rules and reverts the working set of crawls scope rules to the default rules.

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.