Partager via


Méthode GetEnumerator

Returns an enumerator that can iterate over the ForEachFromVarEnumerator instance.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Enumerators.FromVar
Assembly :  Microsoft.SqlServer.ForEachFromVarEnumerator (en Microsoft.SqlServer.ForEachFromVarEnumerator.dll)

Syntaxe

'Déclaration
Public Overrides Function GetEnumerator ( _
    connections As Connections, _
    variableDispenser As VariableDispenser, _
    events As IDTSInfoEvents, _
    log As IDTSLogging _
) As Object
'Utilisation
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

Paramètres

Valeur de retour

Type : System. . :: . .Object
An object that is cast to an IEnumerator object.

Implémente

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