DatabaseCopyOperationsExtensions.DeleteAsync Method

Definition

Stops a SQL Server database copy.

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations operations, string serverName, string databaseName, Guid databaseCopyName);
static member DeleteAsync : Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations * string * string * Guid -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IDatabaseCopyOperations, serverName As String, databaseName As String, databaseCopyName As Guid) As Task(Of AzureOperationResponse)

Parameters

operations
IDatabaseCopyOperations

Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations.

serverName
String

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

databaseName
String

Required. The name of the database.

databaseCopyName
Guid

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

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to