Compartir a través de


IDTSLogging.Enabled Property

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 (in microsoft.sqlserver.manageddts.dll)

Sintaxis

'Declaración
ReadOnly Property Enabled As Boolean
bool Enabled { get; }
property bool Enabled {
    bool get ();
}
/** @property */
boolean get_Enabled ()
function get Enabled () : boolean

Valor de propiedad

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

Notas

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.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

IDTSLogging Interface
IDTSLogging Members
Microsoft.SqlServer.Dts.Runtime Namespace