IDataReaderExtension 인터페이스
Provides a means of reading one or more forward-only streams of result sets obtained by executing a command at a data source, and is used by SQL Server Reporting Services to retrieve aggregation-specific information about a result set.
네임스페이스: Microsoft.ReportingServices.DataProcessing
어셈블리: Microsoft.ReportingServices.Interfaces(Microsoft.ReportingServices.Interfaces.dll)
Microsoft.ReportingServices.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
구문
‘선언
Public Interface IDataReaderExtension _
Inherits IDataReader, IDisposable
‘사용 방법
Dim instance As IDataReaderExtension
public interface IDataReaderExtension : IDataReader,
IDisposable
public interface class IDataReaderExtension : IDataReader,
IDisposable
type IDataReaderExtension =
interface
interface IDataReader
interface IDisposable
end
public interface IDataReaderExtension extends IDataReader, IDisposable
IDataReaderExtension 유형에서 다음 멤버를 표시합니다.
속성
이름 | 설명 | |
---|---|---|
AggregationFieldCount | Gets the number of fields by which the data is aggregated. | |
FieldCount | Gets the number of fields in the data reader. (IDataReader에서 상속됨) | |
IsAggregateRow | Indicates whether the current row contains aggregate data. |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
Dispose | (IDisposable에서 상속됨) | |
GetFieldType | Gets the Type information corresponding to the type of object that is returned from GetValue. (IDataReader에서 상속됨) | |
GetName | Gets the name of the field to find. (IDataReader에서 상속됨) | |
GetOrdinal | Return the index of the named field. (IDataReader에서 상속됨) | |
GetValue | Return the value of the specified field. (IDataReader에서 상속됨) | |
IsAggregationField | Indicates whether the data is aggregated by the field with the given index. | |
Read | Advances the IDataReader to the next record. (IDataReader에서 상속됨) |
맨 위로 이동
주의
The IDataReaderExtension interface enables you to implement an extension of the IDataReader interface, which you can use to provide a report server with aggregation information about your result set. For more information about DataReader classes, see 데이터 처리 확장 프로그램에 대한 DataReader 클래스 구현.
An application does not create an instance of the IDataReaderExtension interface directly, but creates an instance of a class that implements IDataReaderExtension.
Classes that implement IDataReaderExtension must also implement the required members, and typically define additional members to add provider-specific functionality. Because IDataReaderExtension inherits from IDataReaderExtension, you must also implement all of the IDataReaderExtension members as part of your DataReader class.
Changes made to a result set by another process or thread while data is being read may be visible to the user of a class that implements an IDataReaderExtension. However, the precise behavior is both provider and timing dependent.
Users do not create an instance of a DataReader class directly. Instead, they obtain the DataReader through the ExecuteReader method of the Command object. Therefore, you should mark DataReader constructors as internal.