ISearchCrawlScopeManager::RemoveRoot Method

Removes a search root from the search engine.


HRESULT RemoveRoot(      


  • 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.


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.