Compartir a través de


LogProviderBase.InitializeLogProvider Method

Called when the log provider is added to a package.

Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Sintaxis

'Declaración
Public Overridable Sub InitializeLogProvider ( _
    connections As Connections, _
    events As IDTSInfoEvents, _
    refTracker As ObjectReferenceTracker _
)
public virtual void InitializeLogProvider (
    Connections connections,
    IDTSInfoEvents events,
    ObjectReferenceTracker refTracker
)
public:
virtual void InitializeLogProvider (
    Connections^ connections, 
    IDTSInfoEvents^ events, 
    ObjectReferenceTracker^ refTracker
)
public void InitializeLogProvider (
    Connections connections, 
    IDTSInfoEvents events, 
    ObjectReferenceTracker refTracker
)
public function InitializeLogProvider (
    connections : Connections, 
    events : IDTSInfoEvents, 
    refTracker : ObjectReferenceTracker
)

Parámetros

  • connections
    The Connections collection of the package.
  • refTracker
    Reserved for future use. Use null.

Notas

The InitializeLogProvider method is called when a log provider is added to a package, or when a package is loaded that contains the log provider.

You use this method to store the Connections and DesignEvents properties of the package in member variables so they can be used later.

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

LogProviderBase Class
LogProviderBase Members
Microsoft.SqlServer.Dts.Runtime Namespace