Share via


ReportParameter Class

Contains information about a report parameter. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.ReportRendering.ReportParameter

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public NotInheritable Class ReportParameter
'Usage
Dim instance As ReportParameter
public sealed class ReportParameter
public ref class ReportParameter sealed
[<SealedAttribute>]
type ReportParameter =  class end
public final class ReportParameter

The ReportParameter type exposes the following members.

Properties

  Name Description
Public property AllowBlank Indicates whether the value of the parameter can be blank.
Public property DataType Gets the data type of the parameter.
Public property MultiValue Gets a Boolean value indicating whether this is a multivalue report parameter.
Public property Name Gets the name of the parameter.
Public property Nullable Gets a Boolean value indicating whether the value of the parameter can be nulla null reference (Nothing in Visual Basic).
Public property Prompt Gets the message to display to a user when asking for parameter values.
Public property UsedInQuery Indicates whether the parameter is used in a query.
Public property Value Gets the value of the parameter.
Public property Values Gets the values of a multivalued report parameter.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Parameters are passed in the order displayed in the user interface (UI).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.