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)
Syntax
public static Task<AzureOperationResponse> DeleteAsync(
this IDatabaseOperations operations,
string serverName,
string databaseName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ DeleteAsync(
IDatabaseOperations^ operations,
String^ serverName,
String^ databaseName
)
static member DeleteAsync :
operations:IDatabaseOperations *
serverName:string *
databaseName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function DeleteAsync (
operations As IDatabaseOperations,
serverName As String,
databaseName As String
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Sql.IDatabaseOperationsReference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations.
serverName
Type: System.StringRequired. The name of the Azure SQL Database Server on which the database is hosted.
databaseName
Type: System.StringRequired. 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.
See Also
DatabaseOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top