JobServer.RemoveJobByID 方法
Removes a job with a specified ID value.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub RemoveJobByID ( _
jobId As Guid _
)
用法
Dim instance As JobServer
Dim jobId As Guid
instance.RemoveJobByID(jobId)
public void RemoveJobByID(
Guid jobId
)
public:
void RemoveJobByID(
Guid jobId
)
member RemoveJobByID :
jobId:Guid -> unit
public function RemoveJobByID(
jobId : Guid
)
参数
- jobId
类型:System.Guid
A Guid system object value that uniquely identifies the job.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间