ForEachEnumerator.InitializeForEachEnumerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.