Share via


ISearchRoot::get_UseNotificationsOnly Method

Gets a value that indicates whether this search root should be indexed only by notification and not crawled.

Syntax

HRESULT get_UseNotificationsOnly(      
    BOOL *pfUseNotificationsOnly
);

Parameters

  • pfUseNotificationsOnly
    [out] On return, points to TRUE if this search root should be indexed only by notification; otherwise, FALSE.

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.