Partager via


Classe ReportParameter

Represents a report parameter.

Hiérarchie d'héritage

System.Object
  ReportService2006.ReportParameter

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

Syntaxe

'Déclaration
Public Class ReportParameter
'Utilisation
Dim instance As ReportParameter
public class ReportParameter
public ref class ReportParameter
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 Gets or sets a value that indicates whether an empty string is a valid value for the parameter.
Propriété publique AllowBlankSpecified Gets or sets a value that indicates whether the AllowBlank property is specified.
Propriété publique DefaultValues Gets or sets the default values for the parameter.
Propriété publique DefaultValuesQueryBased Gets or sets a value that indicates whether the default values for the parameter are based on a query.
Propriété publique DefaultValuesQueryBasedSpecified Gets or sets a value that indicates whether the DefaultValuesQueryBased property is 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 Gets the error message returned when a parameter value has failed validation.
Propriété publique MultiValue Gets or sets a value that indicates whether the parameter is a multivalued parameter.
Propriété publique MultiValueSpecified Gets or sets a value that indicates whether the MultiValue property is specified.
Propriété publique Name Gets or sets the name of the parameter.
Propriété publique Nullable Gets or sets a value that indicates whether the value of the parameter can be nullune référence Null (Nothing dans Visual Basic).
Propriété publique NullableSpecified Gets or sets a value that indicates whether the Nullable property is specified.
Propriété publique Prompt Gets or sets the text that prompts the user for parameter values.
Propriété publique PromptUser Gets or sets a value that indicates whether the user is prompted for the value of the parameter.
Propriété publique PromptUserSpecified Gets or sets a value that indicates whether the PromptUser property is specified.
Propriété publique QueryParameter Gets or sets a value that indicates whether the parameter is used in a query.
Propriété publique QueryParameterSpecified Gets or sets a value that indicates whether the QueryParameter property is specified.
Propriété publique State Gets or sets a value that describes the state (ParameterStateEnum) of the parameter.
Propriété publique StateSpecified Gets or sets a value that indicates whether the State property is specified.
Propriété publique Type Gets or sets the data type (ParameterTypeEnum enumeration) of the parameter.
Propriété publique TypeSpecified Gets or sets a value that indicates whether the Type property is specified.
Propriété publique ValidValues Gets or sets the available ValidValue objects for the parameter.
Propriété publique ValidValuesQueryBased Gets or sets a value that indicates whether the parameter's valid values are based on a query.
Propriété publique ValidValuesQueryBasedSpecified Gets or sets a value that indicates whether the ValidValuesQueryBased property is 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.

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.

Voir aussi

Référence

Espace de noms ReportService2006