Share via


DataRowEnumerator Class

Supports iteration when the ADOEnumerationType is set to return EnumerateAllRows, and the variable contains a data set. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO.DataRowEnumerator

Namespace:  Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO
Assembly:  Microsoft.SqlServer.ForEachADOEnumerator (in Microsoft.SqlServer.ForEachADOEnumerator.dll)

Syntax

'Declaration
Public NotInheritable Class DataRowEnumerator _
    Implements IEnumerator
'Usage
Dim instance As DataRowEnumerator
public sealed class DataRowEnumerator : IEnumerator
public ref class DataRowEnumerator sealed : IEnumerator
[<SealedAttribute>]
type DataRowEnumerator =  
    class 
        interface IEnumerator 
    end
public final class DataRowEnumerator implements IEnumerator

The DataRowEnumerator type exposes the following members.

Properties

  Name Description
Public property Current Gets the current element in the collection.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method MoveNext Advances the enumerator to the next element of the collection. Returns a Boolean indicating whether the MoveNext was successful.
Public method Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO Namespace