Metodo Read

Advances the AdomdDataReader to the next row.

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public Function Read As Boolean
'Utilizzo
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

Valore restituito

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

Implementa

IDataReader. . :: . .Read() () () ()

Osservazioni

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.