Share via


JobOperations.EnableJobAsync Method (String, IEnumerable<BatchClientBehavior>)

 

Enables the specified job, allowing new tasks to run.

Namespace:   Microsoft.Azure.Batch
Assembly:  Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Syntax

public Task EnableJobAsync(
    string jobId,
    IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task^ EnableJobAsync(
    String^ jobId,
    IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member EnableJobAsync : 
        jobId:string *
        additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task
Public Function EnableJobAsync (
    jobId As String,
    additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

A Task that represents the asynchronous operation.

Remarks

The enable operation runs asynchronously.

See Also

JobOperations Class
Microsoft.Azure.Batch Namespace

Return to top