IServerOperations.CreateAsync Method (ServerCreateParameters, CancellationToken)
Provisions a new SQL Database server in a subscription.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Syntax
Task<ServerCreateResponse> CreateAsync(
ServerCreateParameters parameters,
CancellationToken cancellationToken
)
Task<ServerCreateResponse^>^ CreateAsync(
ServerCreateParameters^ parameters,
CancellationToken cancellationToken
)
abstract CreateAsync :
parameters:ServerCreateParameters *
cancellationToken:CancellationToken -> Task<ServerCreateResponse>
Function CreateAsync (
parameters As ServerCreateParameters,
cancellationToken As CancellationToken
) As Task(Of ServerCreateResponse)
Parameters
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.ServerCreateParametersThe parameters needed to provision a server.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<ServerCreateResponse>
The response returned from the Create Server operation. This contains all the information returned from the service when a server is created.
See Also
IServerOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top