Compartir a través de


Clase ReportParameter

Represents a report parameter.

Jerarquía de herencia

System.Object
  ReportService2005.ReportParameter

Espacio de nombres:  ReportService2005
Ensamblado:  ReportService2005 (en ReportService2005.dll)

Sintaxis

'Declaración
Public Class ReportParameter
'Uso
Dim instance As ReportParameter
public class ReportParameter
public ref class ReportParameter
type ReportParameter =  class end
public class ReportParameter

El tipo ReportParameter expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ReportParameter Initializes a new instance of the ReportParameter class.

Arriba

Propiedades

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

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Comentarios

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

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres ReportService2005

Otros recursos

Establecer las propiedades de los parámetros de un informe publicado