Share via


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

 

Stops a SQL Server database copy.

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

Syntax

public static Task<AzureOperationResponse> DeleteAsync(
    this IDatabaseCopyOperations operations,
    string serverName,
    string databaseName,
    Guid databaseCopyName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ DeleteAsync(
    IDatabaseCopyOperations^ operations,
    String^ serverName,
    String^ databaseName,
    Guid databaseCopyName
)
static member DeleteAsync : 
        operations:IDatabaseCopyOperations *
        serverName:string *
        databaseName:string *
        databaseCopyName:Guid -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function DeleteAsync (
    operations As IDatabaseCopyOperations,
    serverName As String,
    databaseName As String,
    databaseCopyName As Guid
) As Task(Of AzureOperationResponse)

Parameters

  • serverName
    Type: System.String

    Required. The name of the source or destination SQL Server instance.

  • databaseName
    Type: System.String

    Required. The name of the database.

  • databaseCopyName
    Type: System.Guid

    Required. The unique identifier for the database copy to stop.

Return Value

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

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

See Also

DatabaseCopyOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top