次の方法で共有


GetEnumerator メソッド

ForEachFromVarEnumerator インスタンスを繰り返し処理できる列挙子を返します。

名前空間:  Microsoft.SqlServer.Dts.Runtime.Enumerators.FromVar
アセンブリ:  Microsoft.SqlServer.ForEachFromVarEnumerator (Microsoft.SqlServer.ForEachFromVarEnumerator.dll)

構文

'宣言
Public Overrides Function GetEnumerator ( _
    connections As Connections, _
    variableDispenser As VariableDispenser, _
    events As IDTSInfoEvents, _
    log As IDTSLogging _
) As Object
'使用
Dim instance As ForEachFromVarEnumerator
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

パラメーター

戻り値

型: System. . :: . .Object
IEnumerator オブジェクトにキャストされるオブジェクトです。

実装

IDTSForEachEnumerator. . :: . .GetEnumerator(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging)