IDatabaseMaintenanceFacet.Status Property

Gets a DatabaseStatus object.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("Database_StatusName")> _
<DisplayDescriptionKeyAttribute("Database_StatusDesc")> _
ReadOnly Property Status As DatabaseStatus 
    Get
'Usage
Dim instance As IDatabaseMaintenanceFacet 
Dim value As DatabaseStatus 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseStatus
The DatabaseStatus object.

See Also

Reference

IDatabaseMaintenanceFacet Interface

Microsoft.SqlServer.Management.Smo Namespace