IDatabaseOperations.DeleteAsync Method (String, String, CancellationToken)
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
Task<AzureOperationResponse> DeleteAsync(
string serverName,
string databaseName,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DeleteAsync(
String^ serverName,
String^ databaseName,
CancellationToken cancellationToken
)
abstract DeleteAsync :
serverName:string *
databaseName:string *
cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function DeleteAsync (
serverName As String,
databaseName As String,
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)
Parameters
serverName
Type: System.StringThe name of the Azure SQL Database Server on which the database is hosted.
databaseName
Type: System.StringThe name of the Azure SQL Database to be deleted.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
Represents a standard service response including an HTTP status code and request ID.
See Also
IDatabaseOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top