Share via


ISearchCrawlScopeManager::HasChildScopeRule Method

Identifies whether a given URL has a child rule in scope.

Syntax

HRESULT HasChildScopeRule(      
    LPCWSTR pszURL,
    BOOL *pfHasChildRule
);

Parameters

  • pszURL
    [in] A string containing the URL to check for a child rule. The string can contain wildcard characters, such as asterisks (*).
  • pfHasChildRule
    [out, retval] TRUE if pszURL has a child rule; otherwise, FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Windows 7 and later: 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.