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


Свойство Enabled

Gets the Boolean value that specifies whether the referenced audit is enabled on the instance of SQL Server. 

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute> _
Public ReadOnly Property Enabled As Boolean
    Get
'Применение
Dim instance As Audit
Dim value As Boolean

value = instance.Enabled
[SfcPropertyAttribute]
public bool Enabled { get; }
[SfcPropertyAttribute]
public:
property bool Enabled {
    bool get ();
}
[<SfcPropertyAttribute>]
member Enabled : bool
function get Enabled () : boolean

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

Тип System. . :: . .Boolean
A Boolean value that specifies the whether the table references a system table or not.
If True, the referenced audit is enabled on the instance of SQL Server; otherwise, False (default).