ISearchRoot::get_HostDepth Method

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


HRESULT get_HostDepth(      
    DWORD *pdwDepth


  • pdwDepth
    [out] On return, points to the depth (number of levels) to crawl in the host tree.

Return Value

Returns S_OK if successful, or an error value otherwise.


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.