IEnumSearchRoots Interface

Provides methods to enumerate the search roots of a catalog, for example, SystemIndex.

IEnumSearchRoots Members

Clone Creates a copy of the IEnumSearchRoots object with the same contents and state as the current one.
Next Retrieves the specified number of ISearchRoot elements.
Reset Moves the internal counter to the beginning of the list so a subsequent call to IEnumSearchRoots::Next retrieves from the beginning.
Skip Skips the specified number of elements.

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.

Interface Information

Inherits from IUnknown
Header searchapi.h
Minimum operating systems Windows XP Service Pack 2 (SP2) with Windows Desktop Search (WDS) 3.0, Windows Server 2003 Service Pack 1 (SP1) with Windows Desktop Search (WDS) 3.0, Windows Vista

See Also

Using the Crawl Scope Manager