Share via


ForEachEnumeratorHostClass.GetEnumerator Method

Definition

Returns an IEnumerator interface for use in iterating over the ForEachItemEnumeratorClass.

public:
 virtual System::Object ^ GetEnumerator(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnections100 ^ pConnections, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariableDispenser100 ^ pVariableDispenser, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSInfoEvents100 ^ pEvents, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100 ^ pLog) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSForEachEnumerator100::GetEnumerator;
public virtual object GetEnumerator (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 pConnections, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 pVariableDispenser, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 pEvents, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 pLog);
abstract member GetEnumerator : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 -> obj
override this.GetEnumerator : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 -> obj
Public Overridable Function GetEnumerator (pConnections As IDTSConnections100, pVariableDispenser As IDTSVariableDispenser100, pEvents As IDTSInfoEvents100, pLog As IDTSLogging100) As Object

Parameters

pConnections
IDTSConnections100

The IDTSConnections100 collection of the package.

pVariableDispenser
IDTSVariableDispenser100

A IDTSVariableDispenser100 object for locking variables.

pEvents
IDTSInfoEvents100

The IDTSInfoEvents100 supplied by the package.

pLog
IDTSLogging100

An object that implements the IDTSLogging100 interface.

Returns

An IEnumerator object for iterating through the collection.

Implements

Applies to