共用方式為


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
)

參數