Share via


DatabaseCopyOperationsExtensions.CreateAsync Method (IDatabaseCopyOperations, String, String, DatabaseCopyCreateParameters)

 

Starts 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<DatabaseCopyCreateResponse> CreateAsync(
    this IDatabaseCopyOperations operations,
    string serverName,
    string databaseName,
    DatabaseCopyCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<DatabaseCopyCreateResponse^>^ CreateAsync(
    IDatabaseCopyOperations^ operations,
    String^ serverName,
    String^ databaseName,
    DatabaseCopyCreateParameters^ parameters
)
static member CreateAsync : 
        operations:IDatabaseCopyOperations *
        serverName:string *
        databaseName:string *
        parameters:DatabaseCopyCreateParameters -> Task<DatabaseCopyCreateResponse>
<ExtensionAttribute>
Public Shared Function CreateAsync (
    operations As IDatabaseCopyOperations,
    serverName As String,
    databaseName As String,
    parameters As DatabaseCopyCreateParameters
) As Task(Of DatabaseCopyCreateResponse)

Parameters

  • serverName
    Type: System.String

    Required. The name of the SQL Server where the source database resides.

  • databaseName
    Type: System.String

    Required. The name of the source database.

Return Value

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

Represents a response to the create request.

See Also

DatabaseCopyOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top