Share via


AdomdDataReader.Read Method

Advances the AdomdDataReader to the next row.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Function Read As Boolean
'Usage
Dim instance As AdomdDataReader
Dim returnValue As Boolean

returnValue = instance.Read()
public bool Read()
public:
virtual bool Read() sealed
abstract Read : unit -> bool 
override Read : unit -> bool 
public final function Read() : boolean

Return Value

Type: System.Boolean
A Boolean that contains true if there are more rows; false otherwise.

Implements

IDataReader.Read()

Remarks

The default position of the AdomdDataReader is prior to the first record. Therefore, you must call the Read method first before attempting to access any data.