IDatabaseOperations.CreateAsync Method (String, DatabaseCreateParameters, CancellationToken)
Creates a database in an Azure SQL Database Server.
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Function CreateAsync ( serverName As String, parameters As DatabaseCreateParameters, cancellationToken As CancellationToken ) As Task(Of DatabaseCreateResponse)
Parameters
- serverName
-
Type:
System.String
The name of the Azure SQL Database Server where the database will be created.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCreateParameters
The parameters for the create database operation.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of DatabaseCreateResponse)Represents the response to a create database request from the service.
Show: