DatabaseInformation Class
A class that contains information about the database.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.DatabaseInformation
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Class DatabaseInformation
public class DatabaseInformation
public ref class DatabaseInformation
type DatabaseInformation = class end
public class DatabaseInformation
The DatabaseInformation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
DatabaseInformation |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AccentSensitive | A Boolean value that specifies whether collation is accent-sensitive. "Frédéric François" matches "Frederic Francois" if collation is accent-insesitive. |
![]() |
AutoClose | True if AUTOCLOSE database option is set; false otherwise. |
![]() |
AutoShrink | True if AUTO_SHRINK database option is set; false otherwise. |
![]() |
AvailabilityGroupName | Gets the availability group name in the database. |
![]() |
BrokerEnabled | Gets or sets a property value that specifies whether the Service Broker service is enabled. |
![]() |
CanTransitionToSimpleRecoveryModel | Returns true if the database can transition to simple recovery model. |
![]() |
CaseSensitive | A Boolean value that specifies whether uppercase letters and lowercase letters are evaluated as equal. If True, uppercase and lowercase are not evaluated as equal. Otherwise, False (default). |
![]() |
Collation | Gets or sets the database collation. |
![]() |
CompatibilityLevel | Gets or sets the compatibility level for the database. |
![]() |
CreateDate | Gets or sets the date that the database was created. |
![]() |
EncryptionEnabled | Gets or sets the ENCRYPTIONENABLED property of a database |
![]() |
FullTextEnabled | Gets or set the Boolean value that specifies whether the database is enabled for full-text search. |
![]() |
Id | Gets or sets the database Id. |
![]() |
IsReadCommittedSnapshotOn | Gets the Boolean value that specifies whether transactions with the read committed isolation level use row versioning. |
![]() |
IsSystem | Return true if the specified database is a system db. |
![]() |
MirroringEnabled | Returns True if database mirroring is enabled; False otherwise. |
![]() |
MirroringId | Specifies the ID value of the mirroring partnership. |
![]() |
Name | Gets or sets the name of the database. |
![]() |
Owner | Gets or sets the database principal that owns the database. |
![]() |
OwnerSid | Gets or set the Security Identifier (SID) of the principal that owns the database. |
![]() |
ReadOnly | Gets or sets the Boolean property value that specifies whether the database is read-only. |
![]() |
RecoveryModel | Gets or sets the recovery model for the database. |
![]() |
SnapshotIsolationState | Gets or sets the snapshot isolation state for the database. |
![]() |
State | Gets or sets the database state. |
![]() |
SupportsSupplementaryCharacters | A Boolean value that specifies whether the database default collation supports Supplementary Characters. Character with codepoint values larger than 0xFFFF require two consecutive 16-bit words and are called supplementary characters. Such collations end with _SC. |
![]() |
UserAccess | Gets or sets the database user access. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
![]() |
SystemDatabases | System databases. |
Top
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.