ISearchCrawlScopeManager::HasParentScopeRule Method

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

Syntax

HRESULT HasParentScopeRule(      
    LPCWSTR pszURL,
    BOOL *pfHasParentRule
);

Parameters

  • pszURL
    [in] A string containing the URL to check for a parent rule. The string can contain wildcard characters, such as asterisks (*).
  • pfHasParentRule
    [out, retval] TRUE if pszURL has a parent 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.