Share via


DatabaseCreateParameters Class

Definition

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

public class DatabaseCreateParameters
type DatabaseCreateParameters = class
Public Class DatabaseCreateParameters
Inheritance
DatabaseCreateParameters

Constructors

DatabaseCreateParameters()

Initializes a new instance of the DatabaseCreateParameters class.

DatabaseCreateParameters(String)

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

Properties

CollationName

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

Edition

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

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.

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.

Name

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

ServiceObjectiveId

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

Applies to