ServerOperationsExtensions.DeleteAsync Method (IServerOperations, String)
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)
Syntax
public static Task<AzureOperationResponse> DeleteAsync(
this IServerOperations operations,
string serverName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ DeleteAsync(
IServerOperations^ operations,
String^ serverName
)
static member DeleteAsync :
operations:IServerOperations *
serverName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function DeleteAsync (
operations As IServerOperations,
serverName As String
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Sql.IServerOperationsReference to the Microsoft.WindowsAzure.Management.Sql.IServerOperations.
serverName
Type: System.StringRequired. The name of the Azure SQL Database Server to be deleted.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
ServerOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top