JobServer.GetJobByID(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The GetJobByID method returns a SQL-DMO Job object referencing the SQL Server Agent job identified by the specified job identifier.
public Microsoft.SqlServer.Management.Smo.Agent.Job GetJobByID (Guid jobId);
member this.GetJobByID : Guid -> Microsoft.SqlServer.Management.Smo.Agent.Job
Public Function GetJobByID (jobId As Guid) As Job
Parameters
- jobId
- Guid