DatabaseCopyOperationsExtensions.CreateAsync Method (IDatabaseCopyOperations, String, String, DatabaseCopyCreateParameters)
Starts a SQL Server database copy.
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
public static Task<DatabaseCopyCreateResponse> CreateAsync( this IDatabaseCopyOperations operations, string serverName, string databaseName, DatabaseCopyCreateParameters parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations
Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations.
- 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.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyCreateParameters
Required. The additional parameters for the create database copy operation.
Return Value
Type: System.Threading.Tasks.Task<DatabaseCopyCreateResponse>Represents a response to the create request.
Show: