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
- id
Typ: System.Int32
Int32 Wartość, która jednoznacznie identyfikuje JobSchedule obiektu jest element członkowski z JobScheduleCollection kolekcja.
Wartość zwracana
Typ: Microsoft.SqlServer.Management.Smo.Agent.JobSchedule
A JobSchedule obiekt, który ma określoną wartość Identyfikatora.
Zobacz także