DatabaseOperationsExtensions.CancelAsync(IDatabaseOperations, String, String, String, Guid, CancellationToken) DatabaseOperationsExtensions.CancelAsync(IDatabaseOperations, String, String, String, Guid, CancellationToken) Method

Definition

Cancels the asynchronous operation on the database.

public static System.Threading.Tasks.Task CancelAsync (this Microsoft.Azure.Management.Sql.IDatabaseOperations operations, string resourceGroupName, string serverName, string databaseName, Guid operationId, System.Threading.CancellationToken cancellationToken = null);
static member CancelAsync : Microsoft.Azure.Management.Sql.IDatabaseOperations * string * string * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
IDatabaseOperations IDatabaseOperations

The operations group for this extension method.

resourceGroupName
String String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
String String

The name of the server.

databaseName
String String

The name of the database.

operationId
Guid Guid

The operation identifier.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Applies to