Share via


ScopeRuleCollection.CreatePropertyQueryRule method (ScopeRuleFilterBehavior, ManagedPropertyInfo, String)

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function CreatePropertyQueryRule ( _
    filterBehavior As ScopeRuleFilterBehavior, _
    property As ManagedPropertyInfo, _
    value As String _
) As PropertyQueryScopeRule
'Usage
Dim instance As ScopeRuleCollection
Dim filterBehavior As ScopeRuleFilterBehavior
Dim property As ManagedPropertyInfo
Dim value As String
Dim returnValue As PropertyQueryScopeRule

returnValue = instance.CreatePropertyQueryRule(filterBehavior, _
    property, value)
public PropertyQueryScopeRule CreatePropertyQueryRule(
    ScopeRuleFilterBehavior filterBehavior,
    ManagedPropertyInfo property,
    string value
)

Parameters

Return value

Type: Microsoft.Office.Server.Search.Administration.PropertyQueryScopeRule

See also

Reference

ScopeRuleCollection class

ScopeRuleCollection members

CreatePropertyQueryRule overload

Microsoft.Office.Server.Search.Administration namespace