Condividi tramite


Classe ReportParameter

Represents a report parameter.

Gerarchia di ereditarietà

System. . :: . .Object
  ReportService2006..::..ReportParameter

Spazio dei nomi  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Sintassi

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

Nel tipo ReportParameter sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ReportParameter Initializes a new instance of the ReportParameter class.

In alto

Proprietà

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

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

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

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento