IDatabaseMaintenanceFacet.Status 屬性
Gets a DatabaseStatus object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayNameKeyAttribute("Database_StatusName")> _
<DisplayDescriptionKeyAttribute("Database_StatusDesc")> _
ReadOnly Property Status As DatabaseStatus
Get
'用途
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
屬性值
型別:Microsoft.SqlServer.Management.Smo.DatabaseStatus
The DatabaseStatus object.