Share via


DatabaseOperationsExtensions.DeleteAsync Method

Definition

Deletes the Azure SQL Database with the given name.

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

Parameters

operations
IDatabaseOperations

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

resourceGroupName
String

Required. The name of the Resource Group to which the Azure SQL Database Server belongs.

serverName
String

Required. The name of the Azure SQL Database Server on which the Azure SQL Database Database is hosted.

databaseName
String

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

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to