Метод GetJobByID
Returns a job with the specified ID value.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Function GetJobByID ( _
jobId As Guid _
) As Job
'Применение
Dim instance As JobServer
Dim jobId As Guid
Dim returnValue As Job
returnValue = instance.GetJobByID(jobId)
public Job GetJobByID(
Guid jobId
)
public:
Job^ GetJobByID(
Guid jobId
)
member GetJobByID :
jobId:Guid -> Job
public function GetJobByID(
jobId : Guid
) : Job
Параметры
- jobId
Тип System. . :: . .Guid
Возвращаемое значение
Тип Microsoft.SqlServer.Management.Smo.Agent. . :: . .Job
A Job object that is identified by the specified Guid system object value.