The InstanceState enumeration contains values that are used to specify the possible states of an instance of SQL Server.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Enumeration InstanceState
用法
Dim instance As InstanceState
public enum InstanceState
public enum class InstanceState
type InstanceState
public enum InstanceState
成员
| 成员名称 | 说明 | |
|---|---|---|
| Offline | The instance is offline. | |
| OfflinePending | The instance is transitioning to offline. | |
| Online | The instance is online. | |
| OnlinePending | The instance is transitioning to online. | |
| Unknown | The instance is in an unknown state. |