Share via


Classe ReportParameter

Represents a report parameter.

Hiérarchie d'héritage

System. . :: . .Object
  ReportExecution2005..::..ReportParameter

Espace de noms :  ReportExecution2005
Assembly :  ReportExecution2005 (en ReportExecution2005.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class ReportParameter
'Utilisation
Dim instance As ReportParameter
[SerializableAttribute]
public class ReportParameter
[SerializableAttribute]
public ref class ReportParameter
[<SerializableAttribute>]
type ReportParameter =  class end
public class ReportParameter

Le type ReportParameter expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ReportParameter Initializes a new instance of the ReportParameter class.

Haut de la page

Propriétés

  Nom Description
Propriété publique AllowBlank Indicates whether an empty string is a valid value for the parameter. Read-only.
Propriété publique AllowBlankSpecified Indicates that the AllowBlank property has been specified.
Propriété publique DefaultValues Gets or sets the default values of the parameter.
Propriété publique DefaultValuesQueryBased Indicates whether the default values of the parameter are based on a query. Boolean. Read-only.
Propriété publique DefaultValuesQueryBasedSpecified Indicates whether the DefaultValuesQueryBased property has been specified.
Propriété publique Dependencies Gets or sets a list of parameters whose values are used to retrieve additional parameter values in a query.
Propriété publique ErrorMessage An error message, returned when the parameter has failed validation.
Propriété publique MultiValue Indicates whether the parameter can be a multivalue parameter.
Propriété publique MultiValueSpecified Indicates whether the MultiValue property has been specified.
Propriété publique Name Gets or sets the name of the parameter.
Propriété publique Nullable Indicates whether the value of the parameter can be nullNothingnullptrunitune référence Null (Nothing dans Visual Basic).
Propriété publique NullableSpecified Indicates whether the Nullable property has been specified.
Propriété publique Prompt Gets or sets the text that prompts the user to provide parameter values.
Propriété publique PromptUser Indicates whether the user is prompted for the value of the parameter.
Propriété publique PromptUserSpecified Indicates whether a value for the PromptUser property is specified.
Propriété publique QueryParameter Indicates whether the parameter is used in a query to an external data source.
Propriété publique QueryParameterSpecified Indicates whether the ReportParameter property has been specified.
Propriété publique State Describes the state (ParameterStateEnum) of the parameter.
Propriété publique StateSpecified Indicates whether the State property has been specified.
Propriété publique Type The data type (ParameterTypeEnum) of the parameter.
Propriété publique TypeSpecified Indicates whether the Type property has been specified.
Propriété publique ValidValues The available valid values for the parameter. Read-only.
Propriété publique ValidValuesQueryBased Indicates whether the parameter's valid values are based on a query. Read-only.
Propriété publique ValidValuesQueryBasedSpecified Indicates whether the ValidValuesQueryBased property has been specified.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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

The value of the ReportParameter may change if the user calls SetReportDefinition.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.