Compartilhar via


Classe ReportParameter

Represents a report parameter.

Hierarquia de herança

System.Object
  ReportService2005.ReportParameter

Namespace:  ReportService2005
Assembly:  ReportService2005 (em ReportService2005.dll)

Sintaxe

'Declaração
Public Class ReportParameter
'Uso
Dim instance As ReportParameter
public class ReportParameter
public ref class ReportParameter
type ReportParameter =  class end
public class ReportParameter

O tipo ReportParameter expõe os membros a seguir.

Construtores

  Nome Descrição
Método público ReportParameter Initializes a new instance of the ReportParameter class.

Início

Propriedades

  Nome Descrição
Propriedade pública AllowBlank Indicates whether an empty string is a valid value for the parameter.
Propriedade pública AllowBlankSpecified Gets or sets a value that indicates whether the AllowBlank property is specified.
Propriedade pública DefaultValues Gets or sets the default value of the parameter.
Propriedade pública DefaultValuesQueryBased Indicates whether the default values of the parameter are based on a query.
Propriedade pública DefaultValuesQueryBasedSpecified Gets or sets a value that indicates whether the DefaultValuesQueryBased property is specified.
Propriedade pública Dependencies A list of parameters whose values are used to retrieve additional parameter values in a query.
Propriedade pública ErrorMessage The error message returned when a parameter value has failed validation.
Propriedade pública MultiValue Indicates whether the parameter is a multi-valued parameter.
Propriedade pública MultiValueSpecified Gets or sets a value that indicates whether the MultiValue property is specified.
Propriedade pública Name Gets or sets the name of the parameter.
Propriedade pública Nullable Indicates whether the value of the parameter can be nulluma referência nula (Nothing no Visual Basic).
Propriedade pública NullableSpecified Gets or sets a value that indicates whether the Nullable property is specified.
Propriedade pública Prompt Gets or sets the text that prompts the user for parameter values.
Propriedade pública PromptUser Indicates whether the user is prompted for the value of the parameter.
Propriedade pública PromptUserSpecified Gets or sets a value that indicates whether the PromptUser property is specified.
Propriedade pública QueryParameter Indicates whether the parameter is used in a query.
Propriedade pública QueryParameterSpecified Gets or sets a value that indicates whether the QueryParameter property is specified.
Propriedade pública State Describes the state (ParameterStateEnum) of the parameter.
Propriedade pública StateSpecified Gets or sets a value that indicates whether the State property is specified.
Propriedade pública Type Gets or sets the data type (ParameterTypeEnum enumeration) of the parameter.
Propriedade pública TypeSpecified Gets or sets a value that indicates whether the Type property is specified.
Propriedade pública ValidValues The available ValidValues objects for the parameter.
Propriedade pública ValidValuesQueryBased Indicates whether the parameter's valid values are based on a query.
Propriedade pública ValidValuesQueryBasedSpecified Gets or sets a value that indicates whether the ValidValuesQueryBased property is specified.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

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

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace ReportService2005

Outros recursos

Definindo propriedades de parâmetro para um relatório publicado