: ScopeRuleCollection.CreatePropertyQueryRule (Método) (Microsoft.Office.Server.Search.Administration)
Creates a scope rule based on a managed property value.
Espacio de nombres:
Ensamblado: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)
Sintaxis
'Declaración
Public Function CreatePropertyQueryRule ( _
filterBehavior As ScopeRuleFilterBehavior, _
property As ManagedProperty, _
value As String _
) As PropertyQueryScopeRule
'Uso
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
)
Parámetros
- filterBehavior
A value from the ScopeRuleFilterBehavior enumeration specifying the filter behavior for the scope rule.
- property
A ManagedProperty object representing the managed property for the scope rule.
- value
A string containing the managed property value for the scope rule.
Vea también
Referencia
ScopeRuleCollection (Clase)
ScopeRuleCollection (Miembros)
Microsoft.Office.Server.Search.Administration (Espacio de nombres)