Share via


PlanGuideCollection.Item Property (String)

Returns an Item from a collection of plan guide objects identified by the Name property of the item.

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

Syntax

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

value = instance(name)
public PlanGuide this[
    string name
] { get; }
public:
property PlanGuide^ default[String^ name] {
    PlanGuide^ get (String^ name);
}
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