EnumerateRoots Method
ISearchCrawlScopeManager::EnumerateRoots Method

Returns an enumeration of all the roots of which this instance of the ISearchCrawlScopeManager is aware.

Syntax

HRESULT EnumerateRoots(      
    IEnumSearchRoots **ppSearchRoots );

Parameters

ppSearchRoots
[out, retval]  Returns a pointer to an IEnumSearchRoots interface.

Return Value

Returns S_OK if successful, S_FALSE if there are no roots to enumerate, or an error value otherwise.

Remarks

ppSearchRoots is set to NULL if there are no roots to enumerate.

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker