AdomdDataReader.Enumerator 类

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

继承层次结构

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

命名空间:  Microsoft.AnalysisServices.AdomdServer
程序集:  msmgdsrv(在 msmgdsrv.dll 中)

语法

声明
Public Class Enumerator _
    Implements IEnumerator
用法
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

AdomdDataReader..::..Enumerator 类型公开以下成员。

属性

  名称 说明
公共属性 Current Gets the current IDataRecord interface in the AdomdDataReader.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 MoveNext Moves to the next IDataRecord interface in the AdomdDataReader.
公共方法 Reset This method is not supported on the forward-only AdomdDataReader.
公共方法 ToString (从 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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。