Classe ReportParameter
Represents a report parameter.
Hierarquia de herança
System. . :: . .Object
ReportService2006..::..ReportParameter
Namespace: ReportService2006
Assembly: ReportService2006 (em ReportService2006.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class ReportParameter
'Uso
Dim instance As ReportParameter
[SerializableAttribute]
public class ReportParameter
[SerializableAttribute]
public ref class ReportParameter
[<SerializableAttribute>]
type ReportParameter = class end
public class ReportParameter
O tipo ReportParameter expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ReportParameter | Initializes a new instance of the ReportParameter class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
AllowBlank | Gets or sets a value that 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 values for the parameter. | |
DefaultValuesQueryBased | Gets or sets a value that indicates whether the default values for the parameter are based on a query. | |
DefaultValuesQueryBasedSpecified | Gets or sets a value that indicates whether the DefaultValuesQueryBased property is specified. | |
Dependencies | Gets or sets a list of parameters whose values are used to retrieve additional parameter values in a query. | |
ErrorMessage | Gets the error message returned when a parameter value has failed validation. | |
MultiValue | Gets or sets a value that indicates whether the parameter is a multivalued 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 | Gets or sets a value that indicates whether the value of the parameter can be nullNothingnullptrunituma referência nula (Nothing no 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 | Gets or sets a value that 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 | Gets or sets a value that indicates whether the parameter is used in a query. | |
QueryParameterSpecified | Gets or sets a value that indicates whether the QueryParameter property is specified. | |
State | Gets or sets a value that 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 | Gets or sets the available ValidValue objects for the parameter. | |
ValidValuesQueryBased | Gets or sets a value that 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. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
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.