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
operations
Type: Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperationsReference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations.
serverName
Type: System.StringRequired. The name of the SQL Server where the source database resides.
databaseName
Type: System.StringRequired. The name of the source database.
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyCreateParametersRequired. The additional parameters for the create database copy operation.
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