Export (0) Print
Expand All

ReportParameter Class

Represents a report parameter.

System.Object
  ReportService2006.ReportParameter

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

[SerializableAttribute]
public class ReportParameter

The ReportParameter type exposes the following members.

  NameDescription
Public methodReportParameterInitializes a new instance of the ReportParameter class.
Top

  NameDescription
Public propertyAllowBlankGets or sets a value that indicates whether an empty string is a valid value for the parameter.
Public propertyAllowBlankSpecifiedGets or sets a value that indicates whether the AllowBlank property is specified.
Public propertyDefaultValuesGets or sets the default values for the parameter.
Public propertyDefaultValuesQueryBasedGets or sets a value that indicates whether the default values for the parameter are based on a query.
Public propertyDefaultValuesQueryBasedSpecifiedGets or sets a value that indicates whether the DefaultValuesQueryBased property is specified.
Public propertyDependenciesGets or sets a list of parameters whose values are used to retrieve additional parameter values in a query.
Public propertyErrorMessageGets the error message returned when a parameter value has failed validation.
Public propertyMultiValueGets or sets a value that indicates whether the parameter is a multivalued parameter.
Public propertyMultiValueSpecifiedGets or sets a value that indicates whether the MultiValue property is specified.
Public propertyNameGets or sets the name of the parameter.
Public propertyNullableGets or sets a value that indicates whether the value of the parameter can be null.
Public propertyNullableSpecifiedGets or sets a value that indicates whether the Nullable property is specified.
Public propertyPromptGets or sets the text that prompts the user for parameter values.
Public propertyPromptUserGets or sets a value that indicates whether the user is prompted for the value of the parameter.
Public propertyPromptUserSpecifiedGets or sets a value that indicates whether the PromptUser property is specified.
Public propertyQueryParameterGets or sets a value that indicates whether the parameter is used in a query.
Public propertyQueryParameterSpecifiedGets or sets a value that indicates whether the QueryParameter property is specified.
Public propertyStateGets or sets a value that describes the state (ParameterStateEnum) of the parameter.
Public propertyStateSpecifiedGets or sets a value that indicates whether the State property is specified.
Public propertyTypeGets or sets the data type (ParameterTypeEnum enumeration) of the parameter.
Public propertyTypeSpecifiedGets or sets a value that indicates whether the Type property is specified.
Public propertyValidValuesGets or sets the available ValidValue objects for the parameter.
Public propertyValidValuesQueryBasedGets or sets a value that indicates whether the parameter's valid values are based on a query.
Public propertyValidValuesQueryBasedSpecifiedGets or sets a value that indicates whether the ValidValuesQueryBased property is specified.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft