GetEnumerator 메서드
Returns a managed enumerator, IEnumerator, for iterating over the collections.
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS
구문
‘선언
Public Overridable Function GetEnumerator ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
events As IDTSInfoEvents, _
log As IDTSLogging _
) As Object
‘사용 방법
Dim instance As ForEachEnumerator
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 virtual Object GetEnumerator(
Connections connections,
VariableDispenser variableDispenser,
IDTSInfoEvents events,
IDTSLogging log
)
public:
virtual Object^ GetEnumerator(
Connections^ connections,
VariableDispenser^ variableDispenser,
IDTSInfoEvents^ events,
IDTSLogging^ log
)
abstract GetEnumerator :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSInfoEvents *
log:IDTSLogging -> Object
override GetEnumerator :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSInfoEvents *
log:IDTSLogging -> Object
public function GetEnumerator(
connections : Connections,
variableDispenser : VariableDispenser,
events : IDTSInfoEvents,
log : IDTSLogging
) : Object
매개 변수
- connections
형식: Microsoft.SqlServer.Dts.Runtime. . :: . .Connections
The Connections collection for the ForEachEnumerator.
- variableDispenser
형식: Microsoft.SqlServer.Dts.Runtime. . :: . .VariableDispenser
The Variables collection for the container.
- events
형식: Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSInfoEvents
An object that implements the IDTSInfoEvents interface for firing events (errors, warnings, and so on) during persistence.
- log
형식: Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSLogging
An IDTSLogging interface.
반환 값
형식: System. . :: . .Object
An IEnumerator interface for iterating through the collection.