DatabaseOperationsExtensions.DeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Drops a database from an Azure SQL Database Server.
public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations operations, string serverName, string databaseName);
static member DeleteAsync : Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IDatabaseOperations, serverName As String, databaseName As String) As Task(Of 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
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.