ISearchCrawlScopeManager::RemoveScopeRule Method
Removes a rule from the search engine.
Syntax
HRESULT RemoveScopeRule( LPCWSTR pszRule );
Parameters
- pszRule
[in] The URL or pattern of a rule to be removed.
Return Value
Returns S_OK if successful; returns S_FALSE if rule is not found.
Remarks
The URL or pattern uniquely describes a rule whether it is default, hierarchical, pattern, or other, and is used to remove a rule from the search engine.