IDatabaseCopyOperations::CreateAsync Method (String^, String^, DatabaseCopyCreateParameters^, CancellationToken)
Starts a SQL Server database copy.
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Task<DatabaseCopyCreateResponse^>^ CreateAsync( String^ serverName, String^ databaseName, DatabaseCopyCreateParameters^ parameters, CancellationToken cancellationToken )
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.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Sql.Models::DatabaseCopyCreateParameters^
The additional parameters for the create database copy operation.
- cancellationToken
-
Type:
System.Threading::CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks::Task<DatabaseCopyCreateResponse^>^Represents a response to the create request.
Show: