IDTSForEachEnumerator.GetEnumerator(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging) IDTSForEachEnumerator.GetEnumerator(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging) 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);

Parameters

connections
Connections Connections

A collection of connections used by the ForEachEnumerator.

variableDispenser
VariableDispenser VariableDispenser

A VariableDispenser object for locking variables.

events
IDTSInfoEvents IDTSInfoEvents

An object that implements the IDTSInfoEvents interface.

log
IDTSLogging IDTSLogging

An object that implements the IDTSLogging interface.

Returns

An enumerator that iterates through the collection.

Applies to