Compartir a través de


SqlDatabaseResource.CancelDatabaseOperationAsync Método

Definición

Cancela la operación asincrónica en la base de datos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/operations/{operationId}/cancel
  • IdDatabaseOperations_Cancel de operaciones
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

Identificador de la operación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a