IServerOperations.DeleteAsync Method
Deletes the specified Azure SQL Database Server from a subscription.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Usage
'Usage
Dim instance As IServerOperations
Dim serverName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AzureOperationResponse)
returnValue = instance.DeleteAsync(serverName, cancellationToken)
Syntax
'Declaration
Function DeleteAsync ( _
serverName As String, _
cancellationToken As CancellationToken _
) As Task(Of AzureOperationResponse)
Task<AzureOperationResponse> DeleteAsync (
string serverName,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DeleteAsync (
String^ serverName,
CancellationToken cancellationToken
)
Task<AzureOperationResponse> DeleteAsync (
String serverName,
CancellationToken cancellationToken
)
function DeleteAsync (
serverName : String,
cancellationToken : CancellationToken
) : Task<AzureOperationResponse>
Parameters
- serverName
The name of the Azure SQL Database Server to be deleted.
- cancellationToken
Cancellation token.
Return Value
Represents a standard service response including an HTTP status code and request ID.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
IServerOperations Interface
IServerOperations Members
Microsoft.WindowsAzure.Management.Sql Namespace