Share via


IDatabaseCopyOperations.DeleteAsync Method (String, String, Guid, CancellationToken)

 

Stops a SQL Server database copy.

Namespace:   Microsoft.WindowsAzure.Management.Sql
Assembly:  Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Syntax

Task<AzureOperationResponse> DeleteAsync(
    string serverName,
    string databaseName,
    Guid databaseCopyName,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DeleteAsync(
    String^ serverName,
    String^ databaseName,
    Guid databaseCopyName,
    CancellationToken cancellationToken
)
abstract DeleteAsync : 
        serverName:string *
        databaseName:string *
        databaseCopyName:Guid *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function DeleteAsync (
    serverName As String,
    databaseName As String,
    databaseCopyName As Guid,
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

Parameters

  • serverName
    Type: System.String

    The name of the source or destination SQL Server instance.

  • databaseCopyName
    Type: System.Guid

    The unique identifier for the database copy to stop.

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

Represents a standard service response including an HTTP status code and request ID.

See Also

IDatabaseCopyOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top