ScopeRuleCollection.CreatePropertyQueryRule-Methode (ScopeRuleFilterBehavior, ManagedProperty, String)
Eine Bereichsregel basierend auf dem Wert einer verwalteten Eigenschaft erstellt.
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 ManagedProperty, _
value As String _
) As PropertyQueryScopeRule
'Usage
Dim instance As ScopeRuleCollection
Dim filterBehavior As ScopeRuleFilterBehavior
Dim property As ManagedProperty
Dim value As String
Dim returnValue As PropertyQueryScopeRule
returnValue = instance.CreatePropertyQueryRule(filterBehavior, _
property, value)
public PropertyQueryScopeRule CreatePropertyQueryRule(
ScopeRuleFilterBehavior filterBehavior,
ManagedProperty property,
string value
)
Parameter
filterBehavior
Typ: Microsoft.Office.Server.Search.Administration.ScopeRuleFilterBehaviorEin Wert aus der ScopeRuleFilterBehavior -Enumeration, das Filterverhalten für die Bereichsregel.
property
Typ: Microsoft.Office.Server.Search.Administration.ManagedPropertyEin ManagedProperty -Objekt, das die verwaltete Eigenschaft für die Bereichsregel darstellt.
value
Typ: System.StringEine Zeichenfolge mit der verwalteten Eigenschaft-Wert für die Bereichsregel.
Rückgabewert
Typ: Microsoft.Office.Server.Search.Administration.PropertyQueryScopeRule