Share via


JobServer.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
)

매개 변수

  • jobid
    유형: System.Guid
    A Guid system object value that specifies the job ID value.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobServer 클래스

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

sp_delete_job(Transact-SQL)