IEnumSearchScopeRules::Reset Method

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

Syntax

HRESULT Reset(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

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.