ISearchRoot::put_HostDepth Method

Deprecated. Sets a value that indicates how far into a host tree to crawl when indexing.

Syntax

HRESULT put_HostDepth(      
    DWORD dwDepth
);

Parameters

  • dwDepth
    [in] The depth (number of levels) to crawl a host tree.

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.