Поделиться через


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)

Syntax

'Декларация
<FlagsAttribute> _
Public Enumeration DatabaseState
'Применение
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.

See Also

Reference

Microsoft.SqlServer.Management.Dac Namespace