Freigeben über


ServerStatus-Enumeration

The ServerStatus enumeration contains values that are used to specify the status of the instance of SQL Server.

Diese Enumeration verfügt über ein FlagsAttribute-Attribut, das die bitweise Kombination der Elementwerte zulässt.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ServerStatus
'Usage
Dim instance As ServerStatus
[FlagsAttribute]
public enum ServerStatus
[FlagsAttribute]
public enum class ServerStatus
[<FlagsAttribute>]
type ServerStatus
public enum ServerStatus

Elemente

Elementname Beschreibung
Online The instance of SQL Server is online.
OnlinePending The instance of SQL Server is waiting to come online.
Offline The instance of SQL Server is offline.
OfflinePending The instance of SQL Server is waiting to go offline.

Hinweise

The ServerStatus enumeration class is served by the Server class.