Share via


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
Public method DatabaseInformation

Top

Properties

  Name Description
Public property AccentSensitive A Boolean value that specifies whether collation is accent-sensitive. "Frédéric François" matches "Frederic Francois" if collation is accent-insesitive.
Public property AutoClose True if AUTOCLOSE database option is set; false otherwise.
Public property AutoShrink True if AUTO_SHRINK database option is set; false otherwise.
Public property AvailabilityGroupName Gets the availability group name in the database.
Public property BrokerEnabled Gets or sets a property value that specifies whether the Service Broker service is enabled.
Public property CanTransitionToSimpleRecoveryModel Returns true if the database can transition to simple recovery model.
Public property 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).
Public property Collation Gets or sets the database collation.
Public property CompatibilityLevel Gets or sets the compatibility level for the database.
Public property CreateDate Gets or sets the date that the database was created.
Public property EncryptionEnabled Gets or sets the ENCRYPTIONENABLED property of a database
Public property FullTextEnabled Gets or set the Boolean value that specifies whether the database is enabled for full-text search.
Public property Id Gets or sets the database Id.
Public property IsReadCommittedSnapshotOn Gets the Boolean value that specifies whether transactions with the read committed isolation level use row versioning.
Public property IsSystem Return true if the specified database is a system db.
Public property MirroringEnabled Returns True if database mirroring is enabled; False otherwise.
Public property MirroringId Specifies the ID value of the mirroring partnership.
Public property Name Gets or sets the name of the database.
Public property Owner Gets or sets the database principal that owns the database.
Public property OwnerSid Gets or set the Security Identifier (SID) of the principal that owns the database.
Public property ReadOnly Gets or sets the Boolean property value that specifies whether the database is read-only.
Public property RecoveryModel Gets or sets the recovery model for the database.
Public property SnapshotIsolationState Gets or sets the snapshot isolation state for the database.
Public property State Gets or sets the database state.
Public property 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.
Public property UserAccess Gets or sets the database user access.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public field 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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace