Aracılığıyla paylaş


ServerStatus Enumeration

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

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

Syntax

'Bildirim
<FlagsAttribute> _
Public Enumeration ServerStatus
[FlagsAttribute] 
public enum ServerStatus
[FlagsAttribute] 
public enum class ServerStatus
/** @attribute FlagsAttribute() */ 
public enum ServerStatus
FlagsAttribute 
public enum ServerStatus

Members

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.

Remarks

The ServerStatus enumeration class is served by the Server class.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.