Share via


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

 

Starts a SQL Server database copy.

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

Syntax

Task<DatabaseCopyCreateResponse> CreateAsync(
    string serverName,
    string databaseName,
    DatabaseCopyCreateParameters parameters,
    CancellationToken cancellationToken
)
Task<DatabaseCopyCreateResponse^>^ CreateAsync(
    String^ serverName,
    String^ databaseName,
    DatabaseCopyCreateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateAsync : 
        serverName:string *
        databaseName:string *
        parameters:DatabaseCopyCreateParameters *
        cancellationToken:CancellationToken -> Task<DatabaseCopyCreateResponse>
Function CreateAsync (
    serverName As String,
    databaseName As String,
    parameters As DatabaseCopyCreateParameters,
    cancellationToken As CancellationToken
) As Task(Of DatabaseCopyCreateResponse)

Parameters

  • serverName
    Type: System.String

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

  • databaseName
    Type: System.String

    The name of the source database.

Return Value

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

Represents a response to the create request.

See Also

IDatabaseCopyOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top