Compartilhar via


SqlDatabaseResource.CancelDatabaseOperationAsync Método

Definição

Cancela a operação assíncrona no banco de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/operations/{operationId}/cancel
  • Operação IdDatabaseOperations_Cancel
public virtual System.Threading.Tasks.Task<Azure.Response> CancelDatabaseOperationAsync (Guid operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelDatabaseOperationAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.CancelDatabaseOperationAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CancelDatabaseOperationAsync (operationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parâmetros

operationId
Guid

O identificador da operação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a