IDataParameter Interface

Represents a parameter to a Command object.

命名空间: Microsoft.ReportingServices.DataProcessing
程序集: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)

语法

声明
Public Interface IDataParameter
public interface IDataParameter
public interface class IDataParameter
public interface IDataParameter
public interface IDataParameter

备注

The IDataParameter interface enables you to implement a Parameter class, which represents a parameter to a Command object. An application does not create an instance of the IDataParameter interface directly, but creates an instance of a class that implements IDataParameter.

Classes that implement IDataParameter must implement the required members, and typically define additional members to add provider-specific functionality.

When you implement the IDataParameter interface, you should implement the following constructors:

Class

Description

PrvParameter()

Initializes a new instance of the PrvDataParameter class.

PrvParameter(string parameterName, object value)

Initializes a new instance of the PrvDataParameter class with the parameter name and an object that is the value of the parameter.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

IDataParameter Members
Microsoft.ReportingServices.DataProcessing Namespace