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