共用方式為


DropJobByID 方法

Removes the job with the specified ID value.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub DropJobByID ( _
    jobid As Guid _
)
'用途
Dim instance As JobServer
Dim jobid As Guid

instance.DropJobByID(jobid)
public void DropJobByID(
    Guid jobid
)
public:
void DropJobByID(
    Guid jobid
)
member DropJobByID : 
        jobid:Guid -> unit 
public function DropJobByID(
    jobid : Guid
)

參數