Udostępnij za pośrednictwem


DatabaseCopyOperationsExtensions.CreateAsync Method

Definition

Starts a SQL Server database copy.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyCreateResponse> CreateAsync (this Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations operations, string serverName, string databaseName, Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations * string * string * Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyCreateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyCreateResponse>
<Extension()>
Public Function CreateAsync (operations As IDatabaseCopyOperations, serverName As String, databaseName As String, parameters As DatabaseCopyCreateParameters) As Task(Of DatabaseCopyCreateResponse)

Parameters

operations
IDatabaseCopyOperations

Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations.

serverName
String

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

databaseName
String

Required. The name of the source database.

parameters
DatabaseCopyCreateParameters

Required. The additional parameters for the create database copy operation.

Returns

Represents a response to the create request.

Applies to