Share via


DatabaseOperationsExtensions.Create Method

Creates a database in an Azure SQL Database Server.

Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Usage

'Usage
Dim operations As IDatabaseOperations
Dim serverName As String
Dim parameters As DatabaseCreateParameters
Dim returnValue As DatabaseCreateResponse

returnValue = DatabaseOperationsExtensions.Create(operations, serverName, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Create ( _
    operations As IDatabaseOperations, _
    serverName As String, _
    parameters As DatabaseCreateParameters _
) As DatabaseCreateResponse
[ExtensionAttribute] 
public static DatabaseCreateResponse Create (
    IDatabaseOperations operations,
    string serverName,
    DatabaseCreateParameters parameters
)
[ExtensionAttribute] 
public:
static DatabaseCreateResponse^ Create (
    IDatabaseOperations^ operations, 
    String^ serverName, 
    DatabaseCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static DatabaseCreateResponse Create (
    IDatabaseOperations operations, 
    String serverName, 
    DatabaseCreateParameters parameters
)
ExtensionAttribute 
public static function Create (
    operations : IDatabaseOperations, 
    serverName : String, 
    parameters : DatabaseCreateParameters
) : DatabaseCreateResponse

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations.
  • serverName
    Required. The name of the Azure SQL Database Server where the database will be created.
  • parameters
    Required. The parameters for the create database operation.

Return Value

Represents the response to a create database request from the service.

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

DatabaseOperationsExtensions Class
DatabaseOperationsExtensions Members
Microsoft.WindowsAzure.Management.Sql Namespace