Share via


ISearchScopeRule Interface

Provides methods to define scope rules for crawling and indexing.

ISearchScopeRule Members

get_FollowFlags Not currently supported.
get_IsDefault Gets a value that identifies whether this is a default rule.
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.
get_PatternOrURL Gets the pattern or URL for the rule. The scope rules determine what URLs or paths to include or exclude.

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.

Interface Information

Inherits from IUnknown
Header and IDL files searchapi.h, searchcrawlscopemanager.idl
Minimum operating systems Windows XP Service Pack 2 (SP2) with Windows Desktop Search (WDS) 3.0, Windows Server 2003 Service Pack 1 (SP1) with Windows Desktop Search (WDS) 3.0, Windows Vista

See Also

Using the Crawl Scope Manager