Export (0) Print
Expand All

AdomdDataReader.Enumerator Structure

Implements the IEnumerator interface to support iterating over an AdomdDataReader and reading its individual records.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

public struct Enumerator : IEnumerator

The AdomdDataReader.Enumerator type exposes the following members.

  NameDescription
Public propertyCurrentGets the current IDataRecord interface in the AdomdDataReader.
Top

  NameDescription
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodMoveNextMoves to the next IDataRecord interface in the AdomdDataReader.
Public methodResetSets the enumerator to its initial position, which is before the first element in the collection.
Public methodToString (Inherited from ValueType.)
Top

  NameDescription
Explicit interface implemetationPrivate propertyIEnumeratorCurrentGets the current IDataRecord object in the AdomdDataReader.
Top

In Microsoft JScript, you can use the structures in the Microsoft .NET Framework, but you cannot define your own.

Because the AdomdDataReader is a forward-only source of data, you can iterate the associated enumerator only once.

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

Community Additions

ADD
Show:
© 2014 Microsoft