Share via


Database Members

Represents a database in the Azure SQL Database service.

The following tables list the members exposed by the Database type.

Public Constructors

  Name Description
  Database Initializes a new instance of the Database class.

Top

Public Properties

  Name Description
AssignedServiceObjectiveId Optional. Gets the ID of the assigned service objective for this database. This is the ID of the service objective being applied.
CollationName Optional. Gets the name of the collation for this database.
CreationDate Optional. Gets the date this database was created.
Edition Optional. Gets the edition of the Azure SQL Database. The DatabaseEditions enumeration contains all the valid editions.
Id Optional. Gets the ID of the database. This ID is unique within the server that contains the database.
IsFederationRoot Optional. Gets whether or not the database is a federation root.
IsSystemObject Optional. Gets whether or not the database is a system object.
MaximumDatabaseSizeInBytes Optional. Gets the maximum size of this database expressed in bytes.
MaximumDatabaseSizeInGB Optional. Gets the maximum size of this database expressed in gigabytes.
Name  Optional. Gets the name of the service resource. (Inherited from SqlModelCommon)
RecoveryPeriodStartDate Optional. Gets the starting date of the restorable period for this database.
ServiceObjectiveAssignmentErrorCode Optional. Gets the error code raised when assigning a new service objective if there was one.
ServiceObjectiveAssignmentErrorDescription Optional. Gets the description of the error if an error occured while applying a new service objective.
ServiceObjectiveAssignmentState Optional. Gets the state of the current service objective assignment in numerical format.
ServiceObjectiveAssignmentStateDescription Optional. Gets the description of the state of the current service objective assignment.
ServiceObjectiveAssignmentSuccessDate Optional. Gets the date the service objective assignment succeeded.
ServiceObjectiveId Optional. Gets the ID of the current service objective.
SizeMB Optional. Gets the current usage of the database in megabytes.
State  Optional. Gets the state of the service resource. (Inherited from SqlModelCommon)
Type  Optional. Gets the type of the service resource. (Inherited from SqlModelCommon)

Top

Public Methods

(see also Protected Methods)

  Name Description
Equals  (Inherited from Object)
GetHashCode  (Inherited from Object)
GetType  (Inherited from Object)
ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
Finalize  (Inherited from Object)
MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

Database Class
Microsoft.WindowsAzure.Management.Sql.Models Namespace