IEnumSearchRoots interface (searchapi.h)

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

Inheritance

The IEnumSearchRoots interface inherits from the IUnknown interface. IEnumSearchRoots also has these types of members:

Methods

The IEnumSearchRoots interface has these methods.

 
IEnumSearchRoots::Clone

Creates a copy of the IEnumSearchRoots object with the same contents and state as the current one.
IEnumSearchRoots::Next

Retrieves the specified number of ISearchRoot elements.
IEnumSearchRoots::Reset

Moves the internal counter to the beginning of the list so a subsequent call to IEnumSearchRoots::Next retrieves from the beginning.
IEnumSearchRoots::Skip

Skips the specified number of elements. (IEnumSearchRoots.Skip)

Remarks

For a sample that demonstrates how to define command line options for Crawl Scope Manager (CSM) indexing operations, see the CrawlScopeCommandLine code sample.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header searchapi.h
Redistributable Windows Desktop Search (WDS) 3.0

See also

Using the Crawl Scope Manager