ISearchScopeRule interface (searchapi.h)

Provides methods to define scope rules for crawling and indexing.

Inheritance

The ISearchScopeRule interface inherits from the IUnknown interface. ISearchScopeRule also has these types of members:

Methods

The ISearchScopeRule interface has these methods.

 
ISearchScopeRule::get_FollowFlags

Not supported.This method returns E_InvalidArg when called.
ISearchScopeRule::get_IsDefault

Gets a value that identifies whether this is a default rule.
ISearchScopeRule::get_IsIncluded

Gets a value identifying whether this rule is an inclusion rule. Inclusion rules identify scopes that should be included in the crawl scope.
ISearchScopeRule::get_PatternOrURL

Gets the pattern or URL for the rule. The scope rules determine what URLs or paths to include or exclude.

Remarks

For a sample that demonstrates how to define command line options for Crawl Scope Manager (CSM) indexing operations, see the CrawlScopeCommandLine sample.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header searchapi.h
Redistributable Windows Desktop Search (WDS) 3.0

See also

Using the Crawl Scope Manager