次の方法で共有


ScopeRule コンストラクタ (Microsoft.Office.Server.Search.Administration)

ScopeRule クラスの新しいインスタンスを初期化します。

名前空間: Microsoft.Office.Server.Search.Administration
アセンブリ: Microsoft.Office.Server.Search (microsoft.office.server.search.dll 内)

構文

'宣言
Protected Sub New ( _
    parentScope As Scope, _
    filterBehavior As ScopeRuleFilterBehavior, _
    ruleType As ScopeRuleType, _
    urlRuleType As UrlScopeRuleType, _
    property As ManagedProperty, _
    userValue As String _
)
'使用
Dim parentScope As Scope
Dim filterBehavior As ScopeRuleFilterBehavior
Dim ruleType As ScopeRuleType
Dim urlRuleType As UrlScopeRuleType
Dim property As ManagedProperty
Dim userValue As String

Dim instance As New ScopeRule(parentScope, filterBehavior, ruleType, urlRuleType, property, userValue)
protected ScopeRule (
    Scope parentScope,
    ScopeRuleFilterBehavior filterBehavior,
    ScopeRuleType ruleType,
    UrlScopeRuleType urlRuleType,
    ManagedProperty property,
    string userValue
)

パラメータ

  • parentScope
    範囲ルールの親の範囲を表す Scope オブジェクト。
  • ruleType
    範囲ルールの種類を指定する ScopeRuleType 列挙からの値。
  • urlRuleType
    URL 範囲ルールの種類を指定する UrlScopeRuleType 列挙からの値。
  • property
  • userValue
    範囲ルールに使用する管理プロパティの値を指定する文字列。

関連項目

参照

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