Database Class
Represents a database in the Azure SQL Database service.
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.SqlModelCommon
Microsoft.WindowsAzure.Management.Sql.Models.Database
Syntax
public class Database : SqlModelCommon
public ref class Database : SqlModelCommon
type Database =
class
inherit SqlModelCommon
end
Public Class Database
Inherits SqlModelCommon
Constructors
Name | Description | |
---|---|---|
Database() | Initializes a new instance of the Database class. |
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.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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