Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Removes the job with the specified ID value.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub DropJobByID ( _
jobid As Guid _
)
'Usage
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
)
Parameters
- jobid
Type: System.Guid
A Guid system object value that specifies the job ID value.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace