共用方式為


InstanceState 列舉

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.

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間