Partager via


ItemById méthode

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

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

Syntaxe

'Déclaration
Public Function ItemById ( _
    id As Integer _
) As PlanGuide
'Utilisation
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

Paramètres