Share via


ScopeRuleCollection.Item Property

Gets the specified scope rule from the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    id As Integer _
) As ScopeRule
    Get
'Usage
Dim instance As ScopeRuleCollection
Dim id As Integer
Dim value As ScopeRule

value = instance(id)
public ScopeRule this[
    int id
] { get; }

Parameters

  • id
    Type: System.Int32
    A 32-bit integer that specifies the scope rule ID.

Property Value

Type: Microsoft.Office.Server.Search.Administration.ScopeRule
A ScopeRule object.

See Also

Reference

ScopeRuleCollection Class

ScopeRuleCollection Members

Microsoft.Office.Server.Search.Administration Namespace