IDTSLogging.Enabled Property

Definition

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

public:
 property bool Enabled { bool get(); };
public bool Enabled { get; }
member this.Enabled : bool
Public ReadOnly Property Enabled As Boolean

Property Value

true if logging is enabled; false if logging is disabled.

Remarks

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.

Applies to