Partilhar via


BatchClient.EnableJob Method

Definition

Enables the specified job.

public void EnableJob (Microsoft.Azure.Commands.Batch.BatchAccountContext context, string jobId, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionBehaviors = default);
member this.EnableJob : Microsoft.Azure.Commands.Batch.BatchAccountContext * string * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub EnableJob (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 enable.

additionBehaviors
IEnumerable<BatchClientBehavior>

Additional client behaviors to perform.

Applies to