IServerOperations.DeleteAsync(String, CancellationToken) Method

Definition

Deletes the specified Azure SQL Database Server from a subscription.

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

Parameters

serverName
String

The name of the Azure SQL Database Server to be deleted.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to