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