Compartir a través de


Read Método

Advances the AdomdDataReader to the next row.

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public Function Read As Boolean
'Uso
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

Valor devuelto

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

Implementa

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

Comentarios

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.