Status 属性

Gets a DatabaseStatus object.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayDescriptionKeyAttribute("Database_StatusDesc")> _
<DisplayNameKeyAttribute("Database_StatusName")> _
ReadOnly Property Status As DatabaseStatus
    Get
用法
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