InstanceState Enumeration

The InstanceState enumeration contains values that are used to specify the possible states of an instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Enumeration InstanceState
'Usage
Dim instance As InstanceState
public enum InstanceState
public enum class InstanceState
type InstanceState
public enum InstanceState

Members

Member name Description
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.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace