IDatabaseOperations.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.
Creates a database in an Azure SQL Database Server.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCreateResponse> CreateAsync (string serverName, Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCreateResponse>
Public Function CreateAsync (serverName As String, parameters As DatabaseCreateParameters, cancellationToken As CancellationToken) As Task(Of DatabaseCreateResponse)
Parameters
- serverName
- String
The name of the Azure SQL Database Server where the database will be created.
- parameters
- DatabaseCreateParameters
The parameters for the create database operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Represents the response to a create database request from the service.