Status 屬性
命名空間: 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 IDatabasePerformanceFacet
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