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