IDataReader.Read 方法

Advances the IDataReader to the next record.

命名空间:  Microsoft.ReportingServices.DataProcessing
程序集:   Microsoft.ReportingServices.Interfaces(在 Microsoft.ReportingServices.Interfaces.dll 中)
  Microsoft.ReportingServices.SharePoint.UI.WebParts(在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

语法

声明
Function Read As Boolean
用法
Dim instance As IDataReader
Dim returnValue As Boolean

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

返回值

类型: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.

注释

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.