IDataReader Interface
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 implemented by Reporting Services Data Processing Extensions that access relational databases.
命名空間: Microsoft.ReportingServices.DataProcessing
組件: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)
語法
'宣告
Public Interface IDataReader
Inherits IDisposable
public interface IDataReader : IDisposable
public interface class IDataReader : IDisposable
public interface IDataReader extends IDisposable
public interface IDataReader extends IDisposable
備註
The IDataReader interface enables you to implement a DataReader class, which provides a means of reading one or more forward-only streams of result sets. For more information about DataReader classes, see Implementing a DataReader Class for a Data Processing Extension.
An application does not create an instance of the IDataReader interface directly, but creates an instance of a class that implements IDataReader.
Classes that implement IDataReader must also implement the required members, and typically define additional members to add provider-specific functionality.
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 IDataReader. 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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
IDataReader Members
Microsoft.ReportingServices.DataProcessing Namespace