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


Свойство Enabled

Returns a Boolean that indicates if logging is enabled. This field is read-only.

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

Синтаксис

'Декларация
ReadOnly Property Enabled As Boolean
    Get
'Применение
Dim instance As IDTSLogging
Dim value As Boolean

value = instance.Enabled
bool Enabled { get; }
property bool Enabled {
    bool get ();
}
abstract Enabled : bool
function get Enabled () : boolean

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

Тип: System. . :: . .Boolean
true if logging is enabled; false if logging is disabled.

Замечания

This property is used by tasks to ask if logging is available to the task. This is useful to know if preparing the information for a log entry is expensive. If logging is not enabled, you can skip preparing the information.