DatabaseStatus 열거형
The DatabaseStatus enumeration is a list of constant values that specify the status of a database, whether it be loading, recovering, or normal, for example. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
이 열거형에는 해당 멤버 값에 대한 비트 조합이 가능한 FlagsAttribute 특성이 있습니다.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SqlEnum.dll의 Microsoft.SqlServer.SqlEnum
구문
‘선언
<FlagsAttribute> _
Public Enumeration DatabaseStatus
‘사용 방법
Dim instance As DatabaseStatus
[FlagsAttribute]
public enum DatabaseStatus
[FlagsAttribute]
public enum class DatabaseStatus
[<FlagsAttribute>]
type DatabaseStatus
public enum DatabaseStatus
멤버
멤버 이름 | 설명 | |
---|---|---|
Normal | The database is available. | |
Restoring | The database is going through the restore process. | |
RecoveryPending | The database is waiting to go through the recovery process. | |
Recovering | The database is going through the recovery process. | |
Suspect | The database has been marked as suspect. You will have to check the data, and the database might have to be restored from a backup. | |
Offline | The database has been taken offline. | |
Standby | The database is in standby mode. | |
Shutdown | The server on which the database resides has been shut down. | |
EmergencyMode | The database is in emergency mode. | |
AutoClosed | The database has been automatically closed. | |
Inaccessible | The database is inaccessible. The server might be switched off or the network connection has been interrupted. |