다음을 통해 공유


IDataReader.Read 메서드

Advances the IDataReader to the next record.

네임스페이스:  Microsoft.ReportingServices.DataProcessing
어셈블리:   Microsoft.ReportingServices.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces(Microsoft.ReportingServices.Interfaces.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.

참고 항목

참조

IDataReader 인터페이스

Microsoft.ReportingServices.DataProcessing 네임스페이스