ISearchCrawlScopeManager::RemoveRoot Method
Removes a search root from the search engine.
Syntax
HRESULT RemoveRoot( LPCWSTR pszURL );
Parameters
- pszURL
[in] The URL of a search root to be removed.
Return Value
Returns S_OK if successful; S_FALSE if the root is not found.
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.