ServerOperationsExtensions.CreateAsync Method (IServerOperations, ServerCreateParameters)
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
public static Task<ServerCreateResponse> CreateAsync(
this IServerOperations operations,
ServerCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<ServerCreateResponse^>^ CreateAsync(
IServerOperations^ operations,
ServerCreateParameters^ parameters
)
static member CreateAsync :
operations:IServerOperations *
parameters:ServerCreateParameters -> Task<ServerCreateResponse>
<ExtensionAttribute>
Public Shared Function CreateAsync (
operations As IServerOperations,
parameters As ServerCreateParameters
) As Task(Of ServerCreateResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Sql.IServerOperationsReference to the Microsoft.WindowsAzure.Management.Sql.IServerOperations.
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.ServerCreateParametersRequired. The parameters needed to provision a server.
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
ServerOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top