Compartilhar via


Propriedade do RDL ReportParameter.State

Gets or sets a value that describes the state (ParameterStateEnum) of the parameter.

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

Sintaxe

'Declaração
Public Property State As ParameterStateEnum 
    Get 
    Set
'Uso
Dim instance As ReportParameter 
Dim value As ParameterStateEnum 

value = instance.State

instance.State = value
public ParameterStateEnum State { get; set; }
public:
property ParameterStateEnum State {
    ParameterStateEnum get ();
    void set (ParameterStateEnum value);
}
member State : ParameterStateEnum with get, set
function get State () : ParameterStateEnum 
function set State (value : ParameterStateEnum)

Valor da propriedade

Tipo: ReportService2006.ParameterStateEnum
A ParameterStateEnum value.

Comentários

The value of this property may change based on input during the validation of the parameter by the GetReportParameters(String, String, Boolean, ParameterValue, DataSourceCredentials) method.

A valid value for this property may be one of the following:

  • HasValidValue –A valid value for the parameter exists.

  • MissingValidValue – A valid value for the parameter does not exist.

  • HasOutstandingDependencies – This parameter's default/valid value(s) cannot be determined because they depend on another parameter. Specify the value for all dependent parameters before setting the value of this parameter.

Consulte também

Referência

ReportParameter Classe

Namespace ReportService2006