Share via


ISearchRoot::put_FollowDirectories Method

Sets a BOOL value that indicates whether the search engine should follow subdirectories and hierarchical scopes for this search root.

Syntax

HRESULT put_FollowDirectories(      
    BOOL fFollowDirectories
);

Parameters

  • fFollowDirectories
    [in] TRUE to follow directories or hierarchical scopes, otherwise FALSE. The default for this value is TRUE.

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.