Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseState Enumeration

Enumerates the possible states of the DAC database.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

public enum DatabaseState

Member nameDescription
NormalDatabase is available for any operation
OfflineOffline state. The database can only be detached
SnapshotBaseBase of snapshot. The database can only be extracted
ReplicationInvolved in replication. The database can only be extracted
UnavailableNone of the operations are possible. The database may be renamed, deleted, or unavailable.
DeprecatedCompatLevelThe database compatibility level is deprecated.
IsSnapshotDatabase is a snapshot of another database.
ReadonlyThe database is read only.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft