Compartilhar via


JobScheduleOperationsExtensions.EnableAsync Método

Definição

Habilita um Agendamento de Trabalho.

public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.JobScheduleEnableHeaders> EnableAsync (this Microsoft.Azure.Batch.Protocol.IJobScheduleOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobScheduleEnableOptions jobScheduleEnableOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member EnableAsync : Microsoft.Azure.Batch.Protocol.IJobScheduleOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobScheduleEnableOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.JobScheduleEnableHeaders>
<Extension()>
Public Function EnableAsync (operations As IJobScheduleOperations, jobScheduleId As String, Optional jobScheduleEnableOptions As JobScheduleEnableOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobScheduleEnableHeaders)

Parâmetros

operations
IJobScheduleOperations

O grupo de operações para esse método de extensão.

jobScheduleId
String

A ID da Agenda de Trabalho a ser habilitada.

jobScheduleEnableOptions
JobScheduleEnableOptions

Parâmetros adicionais para a operação

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a