ItemParameter Class

Represents an item parameter.

Inheritance Hierarchy

System.Object
  ReportService2010.ItemParameter

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

Syntax

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

The ItemParameter type exposes the following members.

Constructors

  Name Description
Public method ItemParameter Initializes a new instance of the ItemParameter 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 ParameterStateName Gets or sets the state of the parameter.
Public property ParameterTypeName Gets or sets the data type of the parameter.
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 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 ItemParameter object is returned as output by the GetItemParameters(String, String, Boolean, array<ParameterValue[], array<DataSourceCredentials[]) method and is passed as input to the SetItemParameters(String, array<ItemParameter[]) 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