This topic has not yet been rated - Rate this topic

ScopeRuleCollection.CreatePropertyQueryRule Method (ScopeRuleFilterBehavior, ManagedProperty, String)

Creates a scope rule based on a managed property value.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
public PropertyQueryScopeRule CreatePropertyQueryRule(
	ScopeRuleFilterBehavior filterBehavior,
	ManagedProperty property,
	string value
)

Parameters

filterBehavior
Type: Microsoft.Office.Server.Search.Administration.ScopeRuleFilterBehavior
A value from the ScopeRuleFilterBehavior enumeration specifying the filter behavior for the scope rule.
property
Type: Microsoft.Office.Server.Search.Administration.ManagedProperty
A ManagedProperty object representing the managed property for the scope rule.
value
Type: System.String
A string containing the managed property value for the scope rule.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ