Partilhar via


SqlDatabaseResource.CancelDatabaseOperation(Guid, CancellationToken) 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 Azure.Response CancelDatabaseOperation (Guid operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelDatabaseOperation : Guid * System.Threading.CancellationToken -> Azure.Response
override this.CancelDatabaseOperation : Guid * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function CancelDatabaseOperation (operationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Response

Parâmetros

operationId
Guid

O identificador da operação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a