ServerUpgradeOperationsExtensions.CancelAsync Method

Definition

Cancel a pending upgrade for the Azure SQL Database server.

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CancelAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IServerUpgradeOperations operations, string resourceGroupName, string serverName);
static member CancelAsync : Microsoft.Azure.Management.Sql.LegacySdk.IServerUpgradeOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CancelAsync (operations As IServerUpgradeOperations, resourceGroupName As String, serverName As String) As Task(Of AzureOperationResponse)

Parameters

operations
IServerUpgradeOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IServerUpgradeOperations.

resourceGroupName
String

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

serverName
String

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

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to