Поделиться через


Метод 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
)

Параметры

Возвращаемое значение

Тип: Microsoft.Office.Server.Search.Administration.PropertyQueryScopeRule

См. также

Справочные материалы

ScopeRuleCollection класс

Элементы ScopeRuleCollection

Перегрузка CreatePropertyQueryRule

Пространство имен Microsoft.Office.Server.Search.Administration