共用方式為


ReportParameter.State 屬性

Describes the state (ParameterStateEnum) of the parameter.

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
Public Property State As ParameterStateEnum 
    Get 
    Set
'用途
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)

屬性值

型別:ReportService2005.ParameterStateEnum
A ParameterStateEnum value.

備註

The value of this property may change based on input during the validation of the parameter through the use of the GetReportParameters 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 values cannot be determined because they depend on another parameter. Specify the value for all dependent parameters before setting the value of this parameter.

請參閱

參考

ReportParameter 類別

ReportService2005 命名空間