Класс ReportParameter
Represents a report parameter.
Иерархия наследования
System. . :: . .Object
ReportService2005..::..ReportParameter
Пространство имен: ReportService2005
Сборка: ReportService2005 (в ReportService2005.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public Class ReportParameter
'Применение
Dim instance As ReportParameter
[SerializableAttribute]
public class ReportParameter
[SerializableAttribute]
public ref class ReportParameter
[<SerializableAttribute>]
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. |
![]() |
AllowBlankSpecified | Gets or sets a value that indicates whether the AllowBlank property is specified. |
![]() |
DefaultValues | Gets or sets the default value of the parameter. |
![]() |
DefaultValuesQueryBased | Indicates whether the default values of the parameter are based on a query. |
![]() |
DefaultValuesQueryBasedSpecified | Gets or sets a value that indicates whether the DefaultValuesQueryBased property is specified. |
![]() |
Dependencies | A list of parameters whose values are used to retrieve additional parameter values in a query. |
![]() |
ErrorMessage | The error message returned when a parameter value has failed validation. |
![]() |
MultiValue | Indicates whether the parameter is a multi-valued parameter. |
![]() |
MultiValueSpecified | Gets or sets a value that indicates whether the MultiValue property is specified. |
![]() |
Name | Gets or sets the name of the parameter. |
![]() |
Nullable | Indicates whether the value of the parameter can be nullNothingnullptrunitпустая ссылка (Nothing в Visual Basic). |
![]() |
NullableSpecified | Gets or sets a value that indicates whether the Nullable property is specified. |
![]() |
Prompt | Gets or sets the text that prompts the user for parameter values. |
![]() |
PromptUser | Indicates whether the user is prompted for the value of the parameter. |
![]() |
PromptUserSpecified | Gets or sets a value that indicates whether the PromptUser property is specified. |
![]() |
QueryParameter | Indicates whether the parameter is used in a query. |
![]() |
QueryParameterSpecified | Gets or sets a value that indicates whether the QueryParameter property is specified. |
![]() |
State | Describes the state (ParameterStateEnum) of the parameter. |
![]() |
StateSpecified | Gets or sets a value that indicates whether the State property is specified. |
![]() |
Type | Gets or sets the data type (ParameterTypeEnum enumeration) of the parameter. |
![]() |
TypeSpecified | Gets or sets a value that indicates whether the Type property is specified. |
![]() |
ValidValues | The available ValidValues objects for the parameter. |
![]() |
ValidValuesQueryBased | Indicates whether the parameter's valid values are based on a query. |
![]() |
ValidValuesQueryBasedSpecified | Gets or sets a value that indicates whether the ValidValuesQueryBased property is 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.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также