Поделиться через


Свойство Status

Gets the database status.

Пространство имен:  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 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

Значение свойства

Тип: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseStatus
A DatabaseStatus value that indicates the current database status.