Share via


IDataParameter.ParameterName Property

Gets or sets the name of the IDataParameter.

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)

Syntax

'Declaration
Property ParameterName As String 
    Get 
    Set
'Usage
Dim instance As IDataParameter 
Dim value As String 

value = instance.ParameterName

instance.ParameterName = value
string ParameterName { get; set; }
property String^ ParameterName {
    String^ get ();
    void set (String^ value);
}
abstract ParameterName : string with get, set
function get ParameterName () : String 
function set ParameterName (value : String)

Property Value

Type: System.String
A string containing the name of the parameter.

Remarks

The ParameterName is specified in the form **@**paramname. You must set the ParameterName property before executing a command that relies on parameters.

See Also

Reference

IDataParameter Interface

Microsoft.ReportingServices.DataProcessing Namespace