ISearchRoot::put_EnumerationDepth Method

Sets the enumeration depth for this search root.

Syntax

HRESULT put_EnumerationDepth(      
    DWORD dwDepth
);

Parameters

  • dwDepth
    [in] The depth (number of levels) to enumerate.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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.