ISearchCrawlScopeManager::EnumerateScopeRules Method
Returns an enumeration of all the scope rules of which this instance of the ISearchCrawlScopeManager interface is aware.
Syntax
HRESULT EnumerateScopeRules( IEnumSearchScopeRules **ppSearchScopeRules );
Parameters
- ppSearchScopeRules
[out] Returns a pointer to an IEnumSearchScopeRules interace.
Return Value
Returns S_OK if successful, S_FALSE if there are no rules to enumerate, 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.