ForEachEnumerator.GetEnumerator(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging) ForEachEnumerator.GetEnumerator(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging) Method

Definition

Returns a managed enumerator, IEnumerator, for iterating over the collections.

public:
 virtual 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 virtual 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

The Connections collection for the ForEachEnumerator.

variableDispenser
VariableDispenser VariableDispenser

The Variables collection for the container.

events
IDTSInfoEvents IDTSInfoEvents

An object that implements the IDTSInfoEvents interface for firing events (errors, warnings, and so on) during persistence.

log
IDTSLogging IDTSLogging

An IDTSLogging interface.

Returns

An IEnumerator interface for iterating through the collection.

Implements

Applies to