Compartir a través de


IDataReader.Read Método

Advances the IDataReader to the next record.

Espacio de nombres:  Microsoft.ReportingServices.DataProcessing
Ensamblados:   Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)

Sintaxis

'Declaración
Function Read As Boolean
'Uso
Dim instance As IDataReader 
Dim returnValue As Boolean 

returnValue = instance.Read()
bool Read()
bool Read()
abstract Read : unit -> bool
function Read() : boolean

Valor devuelto

Tipo: System.Boolean
A value of true if the enumerator was successfully advanced to the next record, or a value of false if the enumerator has passed the end of the result set.

Comentarios

The default position of the IDataReader is prior to the first record. Therefore you must call Read to begin accessing any data.

While the data reader is in use, the associated connection is busy serving the IDataReader. This is the case until Close is called.

Vea también

Referencia

IDataReader Interfaz

Espacio de nombres Microsoft.ReportingServices.DataProcessing