Share via


Propriété Item (String)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As PlanGuide
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres