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.