Share via


IServerUpgradeOperations.CancelAsync Method

Definition

Cancel a pending upgrade for the Azure SQL Database server.

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CancelAsync (string resourceGroupName, string serverName, System.Threading.CancellationToken cancellationToken);
abstract member CancelAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function CancelAsync (resourceGroupName As String, serverName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the server belongs.

serverName
String

The name of the Azure SQL Database Server to cancel upgrade.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to