GetEnumerator 方法

Returns an IEnumerator interface that can iterate over the ActiveX Data Objects (ADO) object.

命名空间:  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 ForEachADOEnumerator
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
An object.

实现

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