ISearchCrawlScopeManager::RemoveDefaultScopeRule Method
Removes a default scope rule from the search engine.
Syntax
HRESULT RemoveDefaultScopeRule( LPCWSTR pszRule );
Parameters
- pszRule
[in] A string identifying the URL or pattern of the default rule to be removed.
Return Value
Returns S_OK if successful, or an error otherwise.
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.