ServerStatus Enum

Definition

the possible values of server status

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum ServerStatus
Inheritance
ServerStatus
Attributes

Fields

Name Value Description
Unknown 0

Unknown state - value doesn't match any of the states below

Online 1

Referenced server is available for use (Online).

OnlinePending 3

Server startup is underway.

Offline 16

Referenced server has been placed offline by a system or user action.

OfflinePending 48

Server is in being shuted down.

Applies to

Toode Versioonid
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0