CLUSION_REASON enumeration (searchapi.h)

These flags enumerate reasons why URLs are included or excluded from the current crawl scope. The ISearchCrawlScopeManager::IncludedInCrawlScopeEx method returns a pointer to this enumeration to explain why a specified URL is either included or excluded from the current crawl scope.

Syntax

typedef enum __MIDL___MIDL_itf_searchapi_0000_0013_0001 {
  CLUSIONREASON_UNKNOWNSCOPE = 0,
  CLUSIONREASON_DEFAULT = 1,
  CLUSIONREASON_USER = 2,
  CLUSIONREASON_GROUPPOLICY = 3
} CLUSION_REASON;

Constants

 
CLUSIONREASON_UNKNOWNSCOPE
Value: 0
The URL has been excluded because its scope in unknown. There is no scope that would include or exclude this URL so it is excluded by default.
CLUSIONREASON_DEFAULT
Value: 1
The URL has been included or excluded by a default rule. Default rules are set during setup or first run.
CLUSIONREASON_USER
Value: 2
The URL has been included or excluded by a user rule. User rules are set either by the user through Control Panel or by a calling application through the ISearchCrawlScopeManager interface.
CLUSIONREASON_GROUPPOLICY
Value: 3
Not Supported.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header searchapi.h