Delen via


ReportParameter Class

Represents a report parameter.

Inheritance Hierarchy

System.Object
  ReportService2006.ReportParameter

Namespace:  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ReportParameter
'Usage
Dim instance As ReportParameter
[SerializableAttribute]
public class ReportParameter
[SerializableAttribute]
public ref class ReportParameter
[<SerializableAttribute>]
type ReportParameter =  class end
public class ReportParameter

The ReportParameter type exposes the following members.

Constructors

  Name Description
Public method ReportParameter Initializes a new instance of the ReportParameter class.

Top

Properties

  Name Description
Public property AllowBlank Gets or sets a value that indicates whether an empty string is a valid value for the parameter.
Public property AllowBlankSpecified Gets or sets a value that indicates whether the AllowBlank property is specified.
Public property DefaultValues Gets or sets the default values for the parameter.
Public property DefaultValuesQueryBased Gets or sets a value that indicates whether the default values for the parameter are based on a query.
Public property DefaultValuesQueryBasedSpecified Gets or sets a value that indicates whether the DefaultValuesQueryBased property is specified.
Public property Dependencies Gets or sets a list of parameters whose values are used to retrieve additional parameter values in a query.
Public property ErrorMessage Gets the error message returned when a parameter value has failed validation.
Public property MultiValue Gets or sets a value that indicates whether the parameter is a multivalued parameter.
Public property MultiValueSpecified Gets or sets a value that indicates whether the MultiValue property is specified.
Public property Name Gets or sets the name of the parameter.
Public property Nullable Gets or sets a value that indicates whether the value of the parameter can be nulla null reference (Nothing in Visual Basic).
Public property NullableSpecified Gets or sets a value that indicates whether the Nullable property is specified.
Public property Prompt Gets or sets the text that prompts the user for parameter values.
Public property PromptUser Gets or sets a value that indicates whether the user is prompted for the value of the parameter.
Public property PromptUserSpecified Gets or sets a value that indicates whether the PromptUser property is specified.
Public property QueryParameter Gets or sets a value that indicates whether the parameter is used in a query.
Public property QueryParameterSpecified Gets or sets a value that indicates whether the QueryParameter property is specified.
Public property State Gets or sets a value that describes the state (ParameterStateEnum) of the parameter.
Public property StateSpecified Gets or sets a value that indicates whether the State property is specified.
Public property Type Gets or sets the data type (ParameterTypeEnum enumeration) of the parameter.
Public property TypeSpecified Gets or sets a value that indicates whether the Type property is specified.
Public property ValidValues Gets or sets the available ValidValue objects for the parameter.
Public property ValidValuesQueryBased Gets or sets a value that indicates whether the parameter's valid values are based on a query.
Public property ValidValuesQueryBasedSpecified Gets or sets a value that indicates whether the ValidValuesQueryBased property is specified.

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

A ReportParameter object is returned as output by the GetReportParameters method and is passed as input to the SetReportParameters method.

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.

See Also

Reference