We recommend using Visual Studio 2017

AdomdDataReader.Enumerator Class

Implements the IEnumeratorinterface to support iterating over a AdomdDataReader and reading its individual records.


Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public class Enumerator : IEnumerator

The AdomdDataReader.Enumerator type exposes the following members.

Public propertyCurrentGets the current IDataRecord interface in the AdomdDataReader.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMoveNextMoves to the next IDataRecord interface in the AdomdDataReader.
Public methodResetThis method is not supported on the forward-only AdomdDataReader.
Public methodToString (Inherited from Object.)

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.