Share via


PlanGuideCollection.Item Property (Int32)

Returns an item from a collection of plan guide objects that are identified by the integer ID index of the item.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As PlanGuide 
    Get
'Usage
Dim instance As PlanGuideCollection 
Dim index As Integer 
Dim value As PlanGuide 

value = instance(index)
public PlanGuide this[
    int index
] { get; }
public:
property PlanGuide^ default[int index] {
    PlanGuide^ get (int index);
}
member Item : PlanGuide
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.PlanGuide
PlanGuide

See Also

Reference

PlanGuideCollection Class

Item Overload

Microsoft.SqlServer.Management.Smo Namespace