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.
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
A standard service response including an HTTP status code and request ID.