Condividi tramite


Metodo PlanGuideCollection.ItemById

Returns a plan guide object as indicated by the identifier of that plan guide.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function ItemById ( _
    id As Integer _
) As PlanGuide
'Utilizzo
Dim instance As PlanGuideCollection 
Dim id As Integer 
Dim returnValue As PlanGuide 

returnValue = instance.ItemById(id)
public PlanGuide ItemById(
    int id
)
public:
PlanGuide^ ItemById(
    int id
)
member ItemById : 
        id:int -> PlanGuide
public function ItemById(
    id : int
) : PlanGuide

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo.PlanGuide
The plan guide indicated by the identifier.

Vedere anche

Riferimento

PlanGuideCollection Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo