DatabaseOperationsExtensions.Delete Method

Definition

Drops a database from an Azure SQL Database Server.

public static Microsoft.Azure.AzureOperationResponse Delete (this Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations operations, string serverName, string databaseName);
static member Delete : Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations * string * string -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function Delete (operations As IDatabaseOperations, serverName As String, databaseName As String) As AzureOperationResponse

Parameters

operations
IDatabaseOperations

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

serverName
String

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

databaseName
String

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

Returns

Microsoft.Azure.AzureOperationResponse

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

Applies to