Partager via


Propriété Status

Gets a DatabaseStatus object.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Database_StatusDesc")> _
<DisplayNameKeyAttribute("Database_StatusName")> _
ReadOnly Property Status As DatabaseStatus
    Get
'Utilisation
Dim instance As IDatabaseMaintenanceFacet
Dim value As DatabaseStatus

value = instance.Status
[DisplayDescriptionKeyAttribute("Database_StatusDesc")]
[DisplayNameKeyAttribute("Database_StatusName")]
DatabaseStatus Status { get; }
[DisplayDescriptionKeyAttribute(L"Database_StatusDesc")]
[DisplayNameKeyAttribute(L"Database_StatusName")]
property DatabaseStatus Status {
    DatabaseStatus get ();
}
[<DisplayDescriptionKeyAttribute("Database_StatusDesc")>]
[<DisplayNameKeyAttribute("Database_StatusName")>]
abstract Status : DatabaseStatus
function get Status () : DatabaseStatus