ServerStatus Enumeration
The ServerStatus enumeration contains values that are used to specify the status of the instance of SQL Server.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
| Member name | Description | |
|---|---|---|
| Offline | The instance of SQL Server is offline. | |
| OfflinePending | The instance of SQL Server is waiting to go offline. | |
| Online | The instance of SQL Server is online. | |
| OnlinePending | The instance of SQL Server is waiting to come online. | |
| Unknown | The instance of SQL Server is in an unknown state. |
Show: