Freigeben über


Status-Eigenschaft

Gets the database status.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Database_StatusDesc")> _
<DisplayNameKeyAttribute("Database_StatusName")> _
ReadOnly Property Status As DatabaseStatus
    Get
'Usage
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

Eigenschaftswert

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