Share via


ISearchRoot::put_IsHierarchical Method

Sets a value that indicates whether the search is rooted on a hierarchical tree structure.

Syntax

HRESULT put_IsHierarchical(      
    BOOL fIsHierarchical
);

Parameters

  • fIsHierarchical
    [in] TRUE for hierarchical tree structures, FALSE for non-hierarchical systems such as Web sites.

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.