IDatabaseOperations.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 System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string resourceGroupName, string serverName, string databaseName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (resourceGroupName As String, serverName As String, databaseName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group to which the Azure SQL Database Server belongs.
- serverName
- String
The name of the Azure SQL Database Server on which the Azure SQL Database Database is hosted.
- databaseName
- String
The name of the Azure SQL Database to be deleted.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A standard service response including an HTTP status code and request ID.