次の方法で共有


ScopeRuleCollection.CreatePropertyQueryRule メソッド (Microsoft.Office.Server.Search.Administration)

管理プロパティの値に基づいて範囲ルールを作成します。

名前空間: 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
)

パラメータ

  • property
    範囲ルールの管理プロパティを表す ManagedProperty オブジェクト。
  • value
    範囲ルールの管理プロパティの値を含む文字列。

関連項目

参照

ScopeRuleCollection クラス
ScopeRuleCollection メンバ
Microsoft.Office.Server.Search.Administration 名前空間