Share via


IDataParameter.Value Property

Gets or sets the value of the parameter.

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 Value As Object 
    Get 
    Set
'Usage
Dim instance As IDataParameter 
Dim value As Object 

value = instance.Value

instance.Value = value
Object Value { get; set; }
property Object^ Value {
    Object^ get ();
    void set (Object^ value);
}
abstract Value : Object with get, set
function get Value () : Object 
function set Value (value : Object)

Property Value

Type: System.Object
An Object that is the value of the parameter. The default value is Null.

Remarks

For input parameters, the value is bound to the IDbCommand that is sent to the server. For output and return value parameters, the value is set on completion of the IDbCommand and after the IDataReader is closed.

See Also

Reference

IDataParameter Interface

Microsoft.ReportingServices.DataProcessing Namespace