Freigeben über


AdomdDataReader.Enumerator-Struktur

Implements the System.Collections.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)

Syntax

'Declaration
Public Structure Enumerator _
    Implements IEnumerator
'Usage
Dim instance As AdomdDataReader.Enumerator
public struct Enumerator : IEnumerator
public value class Enumerator : IEnumerator
[<SealedAttribute>]
type Enumerator =  
    struct 
        interface IEnumerator 
    end
JScript unterstützt die Verwendung von Strukturen, aber nicht die Deklaration neuer Strukturen.

Der AdomdDataReader.Enumerator-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Current Gets the current IDataRecord interface in the AdomdDataReader.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von ValueType.)
Öffentliche Methode GetHashCode (Geerbt von ValueType.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode MoveNext Moves to the next IDataRecord interface in the AdomdDataReader.
Öffentliche Methode Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Öffentliche Methode ToString (Geerbt von ValueType.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Eigenschaft IEnumerator.Current Gets the current IDataRecord object in the AdomdDataReader.

Zum Anfang

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.AnalysisServices.AdomdClient-Namespace