Метод GetEnumerator
Returns an IEnumerator interface for use in iterating over the ForEachEnumerator.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Public Function GetEnumerator ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
events As IDTSInfoEvents, _
log As IDTSLogging _
) As Object
'Применение
Dim instance As ForEachEnumeratorHost
Dim connections As Connections
Dim variableDispenser As VariableDispenser
Dim events As IDTSInfoEvents
Dim log As IDTSLogging
Dim returnValue As Object
returnValue = instance.GetEnumerator(connections, _
variableDispenser, events, log)
public Object GetEnumerator(
Connections connections,
VariableDispenser variableDispenser,
IDTSInfoEvents events,
IDTSLogging log
)
public:
virtual Object^ GetEnumerator(
Connections^ connections,
VariableDispenser^ variableDispenser,
IDTSInfoEvents^ events,
IDTSLogging^ log
) sealed
abstract GetEnumerator :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSInfoEvents *
log:IDTSLogging -> Object
override GetEnumerator :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSInfoEvents *
log:IDTSLogging -> Object
public final function GetEnumerator(
connections : Connections,
variableDispenser : VariableDispenser,
events : IDTSInfoEvents,
log : IDTSLogging
) : Object
Параметры
- connections
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .Connections
A collection of connections used by the ForEachEnumerator.
- variableDispenser
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .VariableDispenser
A VariableDispenser object for locking variables.
- events
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSInfoEvents
An object that implements the IDTSInfoEvents interface.
- log
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSLogging
An object that implements the IDTSLogging interface.
Возвращаемое значение
Тип: System. . :: . .Object
An IEnumerator interface for iterating through the collection