Método JobServer.DropJobByID
Removes the job with the specified ID value.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub DropJobByID ( _
jobid As Guid _
)
'Uso
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
)
Parâmetros
- jobid
Tipo: System.Guid
A Guid system object value that specifies the job ID value.
Exemplos
Agendando tarefas administrativas automáticas no SQL Server Agent
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Agent