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.StringThe name of the SQL Server where the source database resides.
databaseName
Type: System.StringThe name of the source database.
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyCreateParametersThe additional parameters for the create database copy operation.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
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