Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration DatabaseState
'Usage
Dim instance As DatabaseState
[FlagsAttribute]
public enum DatabaseState
[FlagsAttribute]
public enum class DatabaseState
[<FlagsAttribute>]
type DatabaseState
public enum DatabaseState
Members
| 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. |