Propriété Status
Obtient l'état actuel de Server.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property Status As ServerStatus
Get
'Utilisation
Dim instance As Server
Dim value As ServerStatus
value = instance.Status
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public ServerStatus Status { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property ServerStatus Status {
ServerStatus get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member Status : ServerStatus
function get Status () : ServerStatus
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo. . :: . .ServerStatus
Valeur ServerStatus qui contient l'état du serveur actuel.