Поделиться через


Класс ReportParameter

Represents a report parameter.

Иерархия наследования

System.Object
  ReportExecution2005.ReportParameter

Пространство имен:  ReportExecution2005
Сборка:  ReportExecution2005 (в ReportExecution2005.dll)

Синтаксис

'Декларация
Public Class ReportParameter
'Применение
Dim instance As ReportParameter
public class ReportParameter
public ref class ReportParameter
type ReportParameter =  class end
public class ReportParameter

Тип ReportParameter обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ReportParameter Initializes a new instance of the ReportParameter class.

В начало

Свойства

  Имя Описание
Открытое свойство AllowBlank Indicates whether an empty string is a valid value for the parameter. Read-only.
Открытое свойство AllowBlankSpecified Indicates that the AllowBlank property has been specified.
Открытое свойство DefaultValues Gets or sets the default values of the parameter.
Открытое свойство DefaultValuesQueryBased Indicates whether the default values of the parameter are based on a query. Boolean. Read-only.
Открытое свойство DefaultValuesQueryBasedSpecified Indicates whether the DefaultValuesQueryBased property has been specified.
Открытое свойство Dependencies Gets or sets a list of parameters whose values are used to retrieve additional parameter values in a query.
Открытое свойство ErrorMessage An error message, returned when the parameter has failed validation.
Открытое свойство MultiValue Indicates whether the parameter can be a multivalue parameter.
Открытое свойство MultiValueSpecified Indicates whether the MultiValue property has been specified.
Открытое свойство Name Gets or sets the name of the parameter.
Открытое свойство Nullable Indicates whether the value of the parameter can be nullпустая ссылка (Nothing в Visual Basic).
Открытое свойство NullableSpecified Indicates whether the Nullable property has been specified.
Открытое свойство Prompt Gets or sets the text that prompts the user to provide parameter values.
Открытое свойство PromptUser Indicates whether the user is prompted for the value of the parameter.
Открытое свойство PromptUserSpecified Indicates whether a value for the PromptUser property is specified.
Открытое свойство QueryParameter Indicates whether the parameter is used in a query to an external data source.
Открытое свойство QueryParameterSpecified Indicates whether the ReportParameter property has been specified.
Открытое свойство State Describes the state (ParameterStateEnum) of the parameter.
Открытое свойство StateSpecified Indicates whether the State property has been specified.
Открытое свойство Type The data type (ParameterTypeEnum) of the parameter.
Открытое свойство TypeSpecified Indicates whether the Type property has been specified.
Открытое свойство ValidValues The available valid values for the parameter. Read-only.
Открытое свойство ValidValuesQueryBased Indicates whether the parameter's valid values are based on a query. Read-only.
Открытое свойство ValidValuesQueryBasedSpecified Indicates whether the ValidValuesQueryBased property has been specified.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Замечания

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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен ReportExecution2005

Другие ресурсы

Настройка свойств параметров для опубликованного отчета