ISearchCrawlScopeManager::AddHierachicalScope Method
Adds a Hierarchical Scope to the search engine.
Syntax
HRESULT AddHierachicalScope( LPCWSTR pszURL, BOOL fInclude, BOOL fDefault, BOOL fOverrideChildren );
Parameters
- pszURL
[in] The URL of the Scope to be added.- fInclude
[in] TRUE if this is an inclusion scope, FALSE if this is an exclusion scope.- fDefault
[in] TRUE if this is to be the default scope, FALSE if this is not a default scope.- fOverrideChildren
[in] TRUE if this scope overrides all of the child URL rules, FALSE otherwise.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Overrides any existing scope rule for the URL.