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