Énumération ServerStatus
The ServerStatus enumeration contains values that are used to specify the status of the instance of SQL Server.
Cette énumération possède un attribut FlagsAttribute qui permet la combinaison d'opérations de bits de ses valeurs membres.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<FlagsAttribute> _
Public Enumeration ServerStatus
'Utilisation
Dim instance As ServerStatus
[FlagsAttribute]
public enum ServerStatus
[FlagsAttribute]
public enum class ServerStatus
[<FlagsAttribute>]
type ServerStatus
public enum ServerStatus
Membres
Nom de membre | 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. |
Notes
The ServerStatus enumeration class is served by the Server class.