Поделиться через


Метод Read

Advances the AdomdDataReader to the next row.

Пространство имен:  Microsoft.AnalysisServices.AdomdClient
Сборка:  Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)

Синтаксис

'Декларация
Public Function Read As Boolean
'Применение
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

Возвращаемое значение

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

Реализует

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

Замечания

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.