Метод GetEnumerator
Returns an enumerator for iterating over the collection.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO
Сборка: Microsoft.SqlServer.ForEachADOEnumerator (в Microsoft.SqlServer.ForEachADOEnumerator.dll)
Синтаксис
'Декларация
Public Overrides Function GetEnumerator ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
events As IDTSInfoEvents, _
log As IDTSLogging _
) As Object
'Применение
Dim instance As ForEachSchemaRowsetEnumerator
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 override Object GetEnumerator(
Connections connections,
VariableDispenser variableDispenser,
IDTSInfoEvents events,
IDTSLogging log
)
public:
virtual Object^ GetEnumerator(
Connections^ connections,
VariableDispenser^ variableDispenser,
IDTSInfoEvents^ events,
IDTSLogging^ log
) override
abstract GetEnumerator :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSInfoEvents *
log:IDTSLogging -> Object
override GetEnumerator :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSInfoEvents *
log:IDTSLogging -> Object
public override function GetEnumerator(
connections : Connections,
variableDispenser : VariableDispenser,
events : IDTSInfoEvents,
log : IDTSLogging
) : Object
Параметры
- connections
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .Connections
The Connections collection for the enumerator.
- variableDispenser
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .VariableDispenser
The VariableDispenser collection for the container.
- events
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSInfoEvents
An object that implements the IDTSInfoEvents interface for raising events (errors, warnings, and so on) during persistence.
- log
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSLogging
An IDTSLogging interface.
Возвращаемое значение
Тип: System. . :: . .Object
An object.