Structure AdomdDataReader.Enumerator
Implements the System.Collections.IEnumerator interface to support iterating over an AdomdDataReader and reading its individual records.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Public Structure Enumerator _
Implements IEnumerator
'Utilisation
Dim instance As AdomdDataReader.Enumerator
public struct Enumerator : IEnumerator
public value class Enumerator : IEnumerator
[<SealedAttribute>]
type Enumerator =
struct
interface IEnumerator
end
JScript prend en charge l'utilisation de structures, mais pas la déclaration de nouvelles structures.
Le type AdomdDataReader.Enumerator expose les membres suivants.
Propriétés
Nom | Description | |
---|---|---|
Current | Gets the current IDataRecord interface in the AdomdDataReader. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de ValueType.) | |
GetHashCode | (hérité de ValueType.) | |
GetType | (hérité de Object.) | |
MoveNext | Moves to the next IDataRecord interface in the AdomdDataReader. | |
Reset | Sets the enumerator to its initial position, which is before the first element in the collection. | |
ToString | (hérité de ValueType.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
IEnumerator.Current | Gets the current IDataRecord object in the AdomdDataReader. |
Haut de la page
Notes
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.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.