Metoda OperatorCategoryCollection.ItemById
Wyodrębnia element członkowski z OperatorCategoryCollection przy użyciu kolekcja identyfikator unikatowy, zdefiniowanych przez system.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Agent
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public Function ItemById ( _
id As Integer _
) As OperatorCategory
'Użycie
Dim instance As OperatorCategoryCollection
Dim id As Integer
Dim returnValue As OperatorCategory
returnValue = instance.ItemById(id)
public OperatorCategory ItemById(
int id
)
public:
OperatorCategory^ ItemById(
int id
)
member ItemById :
id:int -> OperatorCategory
public function ItemById(
id : int
) : OperatorCategory
Parametry
- id
Typ: System.Int32
Int32 Wartość, która jednoznacznie identyfikuje OperatorCategory obiektu jest element członkowski z OperatorCategoryCollection kolekcja.
Wartość zwracana
Typ: Microsoft.SqlServer.Management.Smo.Agent.OperatorCategory
OperatorCategory Obiekt, który ma określoną wartość Identyfikatora.
Zobacz także