Sdílet prostřednictvím


AdomdDataReader.Enumerator Class

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

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.AdomdDataReader.Enumerator

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

Syntax

'Declaration
Public Class Enumerator _
    Implements IEnumerator
'Usage
Dim instance As AdomdDataReader.Enumerator
public class Enumerator : IEnumerator
public ref class Enumerator : IEnumerator
type Enumerator =  
    class
        interface IEnumerator
    end
public class Enumerator implements IEnumerator

The AdomdDataReader.Enumerator type exposes the following members.

Properties

  Name Description
Public property Current Gets the current IDataRecord interface in the AdomdDataReader.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveNext Moves to the next IDataRecord interface in the AdomdDataReader.
Public method Reset This method is not supported on the forward-only AdomdDataReader.
Public method ToString (Inherited from Object.)

Top

Remarks

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.

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.