Compartir a través de


IDTSLogging.Enabled Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
ReadOnly Property Enabled As Boolean 
    Get
'Uso
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

Valor de la propiedad

Tipo: System.Boolean
true if logging is enabled; false if logging is disabled.

Comentarios

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.

Vea también

Referencia

IDTSLogging Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Runtime