Share via


IDTSForEachEnumerator.GetEnumerator Method

Definition

Returns a managed enumerator, IEnumerator, for use in iterating over the ForEachEnumerator collection.

public:
 System::Object ^ GetEnumerator(Microsoft::SqlServer::Dts::Runtime::Connections ^ connections, Microsoft::SqlServer::Dts::Runtime::VariableDispenser ^ variableDispenser, Microsoft::SqlServer::Dts::Runtime::IDTSInfoEvents ^ events, Microsoft::SqlServer::Dts::Runtime::IDTSLogging ^ log);
public object GetEnumerator (Microsoft.SqlServer.Dts.Runtime.Connections connections, Microsoft.SqlServer.Dts.Runtime.VariableDispenser variableDispenser, Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents events, Microsoft.SqlServer.Dts.Runtime.IDTSLogging log);
abstract member GetEnumerator : Microsoft.SqlServer.Dts.Runtime.Connections * Microsoft.SqlServer.Dts.Runtime.VariableDispenser * Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents * Microsoft.SqlServer.Dts.Runtime.IDTSLogging -> obj
Public Function GetEnumerator (connections As Connections, variableDispenser As VariableDispenser, events As IDTSInfoEvents, log As IDTSLogging) As Object

Parameters

connections
Connections

A collection of connections used by the ForEachEnumerator.

variableDispenser
VariableDispenser

A VariableDispenser object for locking variables.

events
IDTSInfoEvents

An object that implements the IDTSInfoEvents interface.

log
IDTSLogging

An object that implements the IDTSLogging interface.

Returns

An enumerator that iterates through the collection.

Applies to