Metoda PlanGuideCollection.ItemById
Zwraca obiekt przewodnik planu, wskazywany przez właściwość identyfikator przewodnik tego planu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public Function ItemById ( _
id As Integer _
) As PlanGuide
'Użycie
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
Parametry
- id
Typ: System.Int32
Integer