IDatabaseCopyOperations.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET