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)


<FlagsAttribute> _
Public Enumeration DatabaseState
Dim instance As DatabaseState
public enum DatabaseState
public enum class DatabaseState
type DatabaseState
public enum DatabaseState


Member name Description
Normal Database is available for any operation
Offline Offline state. The database can only be detached
SnapshotBase Base of snapshot. The database can only be extracted
Replication Involved in replication. The database can only be extracted
Unavailable None of the operations are possible. The database may be renamed, deleted, or unavailable.
DeprecatedCompatLevel The database compatibility level is deprecated.
IsSnapshot Database is a snapshot of another database.
Readonly The database is read only.

See Also


Microsoft.SqlServer.Management.Dac Namespace