Share via


DatabaseCopyOperationsExtensions.Delete Method

Stops a SQL Server database copy.

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

Usage

'Usage
Dim operations As IDatabaseCopyOperations
Dim serverName As String
Dim databaseName As String
Dim databaseCopyName As Guid
Dim returnValue As AzureOperationResponse

returnValue = DatabaseCopyOperationsExtensions.Delete(operations, serverName, databaseName, databaseCopyName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Delete ( _
    operations As IDatabaseCopyOperations, _
    serverName As String, _
    databaseName As String, _
    databaseCopyName As Guid _
) As AzureOperationResponse
[ExtensionAttribute] 
public static AzureOperationResponse Delete (
    IDatabaseCopyOperations operations,
    string serverName,
    string databaseName,
    Guid databaseCopyName
)
[ExtensionAttribute] 
public:
static AzureOperationResponse^ Delete (
    IDatabaseCopyOperations^ operations, 
    String^ serverName, 
    String^ databaseName, 
    Guid databaseCopyName
)
/** @attribute ExtensionAttribute() */ 
public static AzureOperationResponse Delete (
    IDatabaseCopyOperations operations, 
    String serverName, 
    String databaseName, 
    Guid databaseCopyName
)
ExtensionAttribute 
public static function Delete (
    operations : IDatabaseCopyOperations, 
    serverName : String, 
    databaseName : String, 
    databaseCopyName : Guid
) : AzureOperationResponse

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations.
  • serverName
    Required. The name of the source or destination SQL Server instance.
  • databaseName
    Required. The name of the database.
  • databaseCopyName
    Required. The unique identifier for the database copy to stop.

Return Value

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

DatabaseCopyOperationsExtensions Class
DatabaseCopyOperationsExtensions Members
Microsoft.WindowsAzure.Management.Sql Namespace