Condividi tramite


SqlServerJobExecutionResource.Cancel(CancellationToken) Method

Definition

Requests cancellation of a job execution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/cancel
  • Operation Id: JobExecutions_Cancel
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobExecutionResource
public virtual Azure.Response Cancel (System.Threading.CancellationToken cancellationToken = default);
abstract member Cancel : System.Threading.CancellationToken -> Azure.Response
override this.Cancel : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Cancel (Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to