Partager via


DatabaseProperties Class

Definition

Represents the properties of an Azure SQL Database.

public class DatabaseProperties
type DatabaseProperties = class
Public Class DatabaseProperties
Inheritance
DatabaseProperties

Constructors

DatabaseProperties()

Initializes a new instance of the DatabaseProperties class.

Properties

Collation

Optional. Gets the collation of the Azure SQL Database.

CreateMode

Optional. Gets the create mode for this database.

CreationDate

Optional. Gets the creation date of the Azure SQL Database.

CurrentServiceObjectiveId

Optional. Gets the current Service Level Objective Id of the Azure SQL Database. This is the Id of the Service Level Objective that is currently active.

DatabaseId

Optional. Gets the Id of the Azure SQL Database.

DefaultSecondaryLocation

Optional. Gets the default secondary region for this database.

EarliestRestoreDate

Optional. Gets the recovery period starte date of the Azure SQL Database. This records the start date and time when recovery is available for this Azure SQL Database.

Edition

Optional. Gets the edition of the Azure SQL Database. The DatabaseEditions enumeration contains all the valid editions.

ElasticPoolName

Optional. Gets the name of the Azure SQL Database Elastic Pool the database is in.

MaxSizeBytes

Optional. Gets the max size of the Azure SQL Database expressed in bytes.

ReadScale

Optional. Gets the read scale option for this database.

RequestedServiceObjectiveId

Optional. Gets the configured Service Level Objective Id of the Azure SQL Database. This is the Service Level Objective that is being applied to the Azure SQL Database.

RequestedServiceObjectiveName

Optional. Gets the name of the configured Service Level Objective of the Azure SQL Database. This is the Service Level Objective that is being applied to the Azure SQL Database.

Schemas

Optional. Gets the schemas from this database.

ServiceObjective

Optional. Gets the Service Level Objective of the Azure SQL Database.

ServiceTierAdvisors

Optional. Gets the list of service tier advisors for this database. Expanded property

Status

Optional. Gets the status of the Azure SQL Database.

UpgradeHint

Optional. Gets the upgrade hint for this database.

Applies to