ServerOperationsExtensions.CreateAsync Method
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)
Usage
'Usage
Dim operations As IServerOperations
Dim parameters As ServerCreateParameters
Dim returnValue As Task(Of ServerCreateResponse)
returnValue = ServerOperationsExtensions.CreateAsync(operations, parameters)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function CreateAsync ( _
operations As IServerOperations, _
parameters As ServerCreateParameters _
) As Task(Of ServerCreateResponse)
[ExtensionAttribute]
public static Task<ServerCreateResponse> CreateAsync (
IServerOperations operations,
ServerCreateParameters parameters
)
[ExtensionAttribute]
public:
static Task<ServerCreateResponse^>^ CreateAsync (
IServerOperations^ operations,
ServerCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static Task<ServerCreateResponse> CreateAsync (
IServerOperations operations,
ServerCreateParameters parameters
)
ExtensionAttribute
public static function CreateAsync (
operations : IServerOperations,
parameters : ServerCreateParameters
) : Task<ServerCreateResponse>
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Management.Sql.IServerOperations.
- parameters
Required. The parameters needed to provision a server.
Return Value
The response returned from the Create Server operation. This contains all the information returned from the service when a server is created.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
ServerOperationsExtensions Class
ServerOperationsExtensions Members
Microsoft.WindowsAzure.Management.Sql Namespace