LogProviderBase.InitializeLogProvider Method (Connections, IDTSInfoEvents, ObjectReferenceTracker)


Called when the log provider is added to a package.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public virtual void InitializeLogProvider(
	Connections connections,
	IDTSInfoEvents events,
	ObjectReferenceTracker refTracker


Type: Microsoft.SqlServer.Dts.Runtime.Connections

The Connections collection of the package.

Type: Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents

The IDTSInfoEvents supplied by the package.

Type: Microsoft.SqlServer.Dts.Runtime.ObjectReferenceTracker

Reserved for future use. Use null.

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.

Return to top