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

 

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

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public virtual object GetEnumerator(
	Connections connections,
	VariableDispenser variableDispenser,
	IDTSInfoEvents events,
	IDTSLogging log
)

Parameters

connections
Type: Microsoft.SqlServer.Dts.Runtime.Connections

The Connections collection for the ForEachEnumerator.

variableDispenser
Type: Microsoft.SqlServer.Dts.Runtime.VariableDispenser

The Variables collection for the container.

events
Type: Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents

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

log
Type: Microsoft.SqlServer.Dts.Runtime.IDTSLogging

An IDTSLogging interface.

Return Value

Type: System.Object

An IEnumerator interface for iterating through the collection.

Return to top
Show: