DatabaseStatus Enumeration
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.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)
구문
‘선언
<FlagsAttribute> _
Public Enumeration DatabaseStatus
[FlagsAttribute]
public enum DatabaseStatus
[FlagsAttribute]
public enum class DatabaseStatus
/** @attribute FlagsAttribute() */
public enum DatabaseStatus
FlagsAttribute
public enum DatabaseStatus
Members
Member name | Description |
---|---|
AutoClosed | The database has been automatically closed. |
EmergencyMode | The database is in emergency mode. |
Inaccessible | The database is inaccessible. The server might be switched off or the network connection has become interrupted. |
Normal | The database is available. |
Offline | The database has been taken offline. |
Recovering | The database is going through the recovery process. |
RecoveryPending | The database is waiting to go through the recovery process. |
Restoring | The database is going through the restore process. |
Shutdown | The server on which the database resides has been shut down. |
Standby | The database is in standby mode. |
Suspect | The database has been marked as suspect. The data will need to be checked and the database might need to be restored from a backup. |
주의
The DatabaseStatus enumeration class is served by the Status property.
이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.