共用方式為


IDataParameter 介面

Represents a parameter to a Command object.

命名空間:  Microsoft.ReportingServices.DataProcessing
組件:   Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

語法

'宣告
Public Interface IDataParameter
'用途
Dim instance As IDataParameter
public interface IDataParameter
public interface class IDataParameter
type IDataParameter =  interface end
public interface IDataParameter

IDataParameter 型別公開下列成員。

屬性

  名稱 說明
公用屬性 ParameterName Gets or sets the name of the IDataParameter.
公用屬性 Value Gets or sets the value of the parameter.

上層

備註

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.