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