GetEnumerator 方法
Gets an IEnumerator interface for iterating through the ForEachItem collection.
命名空間: Microsoft.SqlServer.Dts.Runtime.Enumerators.Item
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Overrides Function GetEnumerator ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
events As IDTSInfoEvents, _
log As IDTSLogging _
) As Object
'用途
Dim instance As ForEachItemEnumerator
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
A Connections. collection.
- 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.