Partilhar via


ScopeRule Constructor

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Protected Sub New ( _
    parentScope As Scope, _
    filterBehavior As ScopeRuleFilterBehavior, _
    ruleType As ScopeRuleType, _
    urlRuleType As UrlScopeRuleType, _
    property As ManagedPropertyInfo, _
    userValue As String _
)
'Usage
Dim parentScope As Scope
Dim filterBehavior As ScopeRuleFilterBehavior
Dim ruleType As ScopeRuleType
Dim urlRuleType As UrlScopeRuleType
Dim property As ManagedPropertyInfo
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,
    ManagedPropertyInfo property,
    string userValue
)

Parameters

See Also

Reference

ScopeRule Class

ScopeRule Members

Microsoft.Office.Server.Search.Administration Namespace