This topic has not yet been rated - Rate this topic

ScopeRuleCollection.CreateUrlRule Method

Creates a scope rule based on the display URL of the content item.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
public UrlScopeRule CreateUrlRule(
	ScopeRuleFilterBehavior filterBehavior,
	UrlScopeRuleType urlRuleType,
	string matchingText
)

Parameters

filterBehavior
Type: Microsoft.Office.Server.Search.Administration.ScopeRuleFilterBehavior
A value from the ScopeRuleFilterBehavior enumeration specifying the filter behavior for the scope rule.
urlRuleType
Type: Microsoft.Office.Server.Search.Administration.UrlScopeRuleType
A value from the UrlScopeRuleType enumeration specifying the URL scope rule type.
matchingText
Type: System.String
A string containing the text to match to the display URL for the scope rule.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ