다음을 통해 공유


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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo.Agent. . :: . .Job
A Job object that is identified by the specified Guid system object value.