Condividi tramite


Proprietà Status

Gets the database status.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Database_StatusDesc")> _
<DisplayNameKeyAttribute("Database_StatusName")> _
ReadOnly Property Status As DatabaseStatus
    Get
'Utilizzo
Dim instance As IDatabasePerformanceFacet
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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseStatus
A DatabaseStatus value that indicates the current database status.