Share via


DatabaseCreateParameters Class

 

Represents the parameters required to create a new database on a Azure SQL Database Server.

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

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCreateParameters

Syntax

public class DatabaseCreateParameters
public ref class DatabaseCreateParameters 
type DatabaseCreateParameters = class end
Public Class DatabaseCreateParameters

Constructors

Name Description
System_CAPS_pubmethod DatabaseCreateParameters()

Initializes a new instance of the DatabaseCreateParameters class.

System_CAPS_pubmethod DatabaseCreateParameters(String)

Initializes a new instance of the DatabaseCreateParameters class with required arguments.

Properties

Name Description
System_CAPS_pubproperty CollationName

Optional. Gets or sets the collation name for the new database.

System_CAPS_pubproperty Edition

Optional. Gets or sets the edition for the new database. The DatabaseEditions enumeration contains the valid values for this property.

System_CAPS_pubproperty MaximumDatabaseSizeInBytes

Optional. Gets or sets the maximum size of this database expressed in bytes. If this is used in conjunction with MaximumDatabaseSizeInGB they must agree.

System_CAPS_pubproperty MaximumDatabaseSizeInGB

Optional. Gets or sets the maximum size of this database expressed in gigabytes. If this is used in conjunction with MaximumDatabaseSizeInBytes they must agree.

System_CAPS_pubproperty Name

Required. Gets or sets the name for the new database.

System_CAPS_pubproperty ServiceObjectiveId

Optional. Gets or sets the service objective ID to be applied to the database.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.

See Also

Microsoft.WindowsAzure.Management.Sql.Models Namespace

Return to top