Udostępnij przez


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

Wartość zwracana

Typ: Microsoft.SqlServer.Management.Smo.Agent.OperatorCategory
OperatorCategory Obiekt, który ma określoną wartość Identyfikatora.