共用方式為


ReportParameter.ValidValuesQueryBased 屬性

Indicates whether the parameter's valid values are based on a query. Read-only.

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

語法

'宣告
Public Property ValidValuesQueryBased As Boolean 
    Get 
    Set
'用途
Dim instance As ReportParameter 
Dim value As Boolean 

value = instance.ValidValuesQueryBased

instance.ValidValuesQueryBased = value
public bool ValidValuesQueryBased { get; set; }
public:
property bool ValidValuesQueryBased {
    bool get ();
    void set (bool value);
}
member ValidValuesQueryBased : bool with get, set
function get ValidValuesQueryBased () : boolean 
function set ValidValuesQueryBased (value : boolean)

屬性值

型別:System.Boolean
A read-only Boolean value.

備註

A value for the ValidValuesQueryBased property is only returned if valid values are associated with the parameter. This occurs when an explicit list of valid values is specified, or when a query or expression is provided to supply the valid value.

請參閱

參考

ReportParameter 類別

ReportExecution2005 命名空間