다음을 통해 공유


ServerStatus 열거형

The ServerStatus enumeration contains values that are used to specify the status of the instance of SQL Server.

이 열거형에는 해당 멤버 값에 대한 비트 조합이 가능한 FlagsAttribute 특성이 있습니다.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<FlagsAttribute> _
Public Enumeration ServerStatus
‘사용 방법
Dim instance As ServerStatus
[FlagsAttribute]
public enum ServerStatus
[FlagsAttribute]
public enum class ServerStatus
[<FlagsAttribute>]
type ServerStatus
public enum ServerStatus

멤버

멤버 이름 설명
Online The instance of SQL Server is online.
OnlinePending The instance of SQL Server is waiting to come online.
Offline The instance of SQL Server is offline.
OfflinePending The instance of SQL Server is waiting to go offline.

주의

The ServerStatus enumeration class is served by the Server class.