Compartilhar via


SqlServerJobExecutionResource.CancelAsync(CancellationToken) Método

Definição

Solicita o cancelamento de uma execução de trabalho.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/cancel
  • Operação IdJobExecutions_Cancel
public virtual System.Threading.Tasks.Task<Azure.Response> CancelAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CancelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.CancelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CancelAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a