Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDataParameter Interface

Represents a parameter to a Command object.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblies:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
public interface IDataParameter

The IDataParameter type exposes the following members.

Public propertyParameterNameGets or sets the name of the IDataParameter.
Public propertyValueGets 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:




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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.