ScopeRuleCollection.CreatePropertyQueryRule 方法 (ScopeRuleFilterBehavior, ManagedProperty, String)

创建基于一个托管的属性值的作用域规则。

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function CreatePropertyQueryRule ( _
    filterBehavior As ScopeRuleFilterBehavior, _
    property As ManagedProperty, _
    value As String _
) As PropertyQueryScopeRule
用法
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
)

参数

  • value
    类型:System.String

    一个字符串,它包含作用域规则的托管的属性值。

返回值

类型:Microsoft.Office.Server.Search.Administration.PropertyQueryScopeRule

另请参阅

引用

ScopeRuleCollection 类

ScopeRuleCollection 成员

CreatePropertyQueryRule 重载

Microsoft.Office.Server.Search.Administration 命名空间