Partager via


SqlDatabaseResource.CancelDatabaseOperationAsync Méthode

Définition

Annule l’opération asynchrone sur la base de données.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/operations/{operationId}/cancel
  • IdDatabaseOperations_Cancel d’opération
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)

Paramètres

operationId
Guid

Identificateur de l'opération.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à