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. |