Udostępnij za pośrednictwem


IDatabaseCopyOperations.CreateAsync Method

Definition

Starts a SQL Server database copy.

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

Parameters

serverName
String

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

databaseName
String

The name of the source database.

parameters
DatabaseCopyCreateParameters

The additional parameters for the create database copy operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents a response to the create request.

Applies to