ForEachEnumerator.InitializeForEachEnumerator Method

Definition

Initializes the properties associated with the task. This method is called by the runtime and is not used in code.

public:
 virtual void InitializeForEachEnumerator(Microsoft::SqlServer::Dts::Runtime::Connections ^ connections, Microsoft::SqlServer::Dts::Runtime::IDTSInfoEvents ^ events, Microsoft::SqlServer::Dts::Runtime::ObjectReferenceTracker ^ refTracker);
public virtual void InitializeForEachEnumerator (Microsoft.SqlServer.Dts.Runtime.Connections connections, Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents events, Microsoft.SqlServer.Dts.Runtime.ObjectReferenceTracker refTracker);
abstract member InitializeForEachEnumerator : Microsoft.SqlServer.Dts.Runtime.Connections * Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents * Microsoft.SqlServer.Dts.Runtime.ObjectReferenceTracker -> unit
override this.InitializeForEachEnumerator : Microsoft.SqlServer.Dts.Runtime.Connections * Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents * Microsoft.SqlServer.Dts.Runtime.ObjectReferenceTracker -> unit
Public Overridable Sub InitializeForEachEnumerator (connections As Connections, events As IDTSInfoEvents, refTracker As ObjectReferenceTracker)

Parameters

connections
Connections

The Connections collection of the package.

events
IDTSInfoEvents

The IDTSInfoEvents supplied by the package.

refTracker
ObjectReferenceTracker

Reserved for future use. Use null.

Remarks

The InitializeForEachEnumerator method is called when the ForEach enumerator is added to a package, or when a package is loaded that contains the enumerator.

Applies to