This documentation is archived and is not being maintained.

DatabaseInformation Class

A class that contains information about the database.

System::Object
  Microsoft.TeamFoundation.Framework.Server::DatabaseInformation

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

public ref class DatabaseInformation

The DatabaseInformation type exposes the following members.

  NameDescription
Public propertyAccentSensitiveA Boolean value that specifies whether collation is accent-sensitive. "Frédéric François" matches "Frederic Francois" if collation is accent-insesitive.
Public propertyAutoCloseTrue if AUTOCLOSE database option is set; false otherwise.
Public propertyAutoShrinkTrue if AUTO_SHRINK database option is set; false otherwise.
Public propertyAvailabilityGroupNameGets the availability group name in the database.
Public propertyBrokerEnabledGets or sets a property value that specifies whether the Service Broker service is enabled.
Public propertyCanTransitionToSimpleRecoveryModelReturns true if the database can transition to simple recovery model.
Public propertyCaseSensitiveA 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 propertyCollationGets or sets the database collation.
Public propertyCompatibilityLevelGets or sets the compatibility level for the database.
Public propertyCreateDateGets or sets the date that the database was created.
Public propertyEncryptionEnabledGets or sets the ENCRYPTIONENABLED property of a database
Public propertyFullTextEnabledGets or set the Boolean value that specifies whether the database is enabled for full-text search.
Public propertyIdGets or sets the database Id.
Public propertyIsReadCommittedSnapshotOnGets the Boolean value that specifies whether transactions with the read committed isolation level use row versioning.
Public propertyIsSystemReturn true if the specified database is a system db.
Public propertyMirroringEnabledReturns True if database mirroring is enabled; False otherwise.
Public propertyMirroringIdSpecifies the ID value of the mirroring partnership.
Public propertyNameGets or sets the name of the database.
Public propertyOwnerGets or sets the database principal that owns the database.
Public propertyOwnerSidGets or set the Security Identifier (SID) of the principal that owns the database.
Public propertyReadOnlyGets or sets the Boolean property value that specifies whether the database is read-only.
Public propertyRecoveryModelGets or sets the recovery model for the database.
Public propertySnapshotIsolationStateGets or sets the snapshot isolation state for the database.
Public propertyStateGets or sets the database state.
Public propertySupportsSupplementaryCharactersA 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 propertyUserAccessGets or sets the database user access.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldSystemDatabasesSystem databases.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: