Udostępnij przez


Metoda JobScheduleCollection.ItemById

Wyodrębnia element członkowski z JobScheduleCollection 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 JobSchedule
'Użycie
Dim instance As JobScheduleCollection
Dim id As Integer
Dim returnValue As JobSchedule

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

Parametry

Wartość zwracana

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