DatabaseOperationsExtensions.DeleteAsync Method (IDatabaseOperations, String, String)

 

Drops a database from an Azure SQL Database Server.

Namespace:   Microsoft.WindowsAzure.Management.Sql
Assembly:  Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

public static Task<AzureOperationResponse> DeleteAsync(
	this IDatabaseOperations operations,
	string serverName,
	string databaseName
)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations

Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations.

serverName
Type: System.String

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

databaseName
Type: System.String

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

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

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

Return to top
Show: