Share via


BatchClient.DeleteJob Method

Definition

Deletes the specified job.

public void DeleteJob (Microsoft.Azure.Commands.Batch.BatchAccountContext context, string jobId, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionBehaviors = default);
member this.DeleteJob : Microsoft.Azure.Commands.Batch.BatchAccountContext * string * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub DeleteJob (context As BatchAccountContext, jobId As String, Optional additionBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

Parameters

context
BatchAccountContext

The account to use.

jobId
String

The id of the job to delete.

additionBehaviors
IEnumerable<BatchClientBehavior>

Additional client behaviors to perform.

Applies to