Метод ScopeRuleCollection.CreatePropertyQueryRule (ScopeRuleFilterBehavior, ManagedPropertyInfo, String)
Пространство имен: Microsoft.Office.Server.Search.Administration
Сборка: Microsoft.Office.Server.Search (в Microsoft.Office.Server.Search.dll)
Синтаксис
'Декларация
Public Function CreatePropertyQueryRule ( _
filterBehavior As ScopeRuleFilterBehavior, _
property As ManagedPropertyInfo, _
value As String _
) As PropertyQueryScopeRule
'Применение
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
)
Параметры
- filterBehavior
Тип: Microsoft.Office.Server.Search.Administration.ScopeRuleFilterBehavior
- value
Тип: System.String
Возвращаемое значение
Тип: Microsoft.Office.Server.Search.Administration.PropertyQueryScopeRule
См. также
Справочные материалы
Перегрузка CreatePropertyQueryRule
Пространство имен Microsoft.Office.Server.Search.Administration