共用方式為


AllowQueryExecution 屬性

Indicates whether the user is allowed to provide values for parameters used in the query.

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

語法

'宣告
Public Property AllowQueryExecution As Boolean
    Get
    Set
'用途
Dim instance As ExecutionInfo
Dim value As Boolean

value = instance.AllowQueryExecution

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

屬性值

型別:System. . :: . .Boolean
A Boolean value.

備註

If AllowQueryExecution is true, the snapshot will be cleared when the ResetExecution method is called.

AllowQueryExecution will return false for execution and history snapshots, and true for live reports and ad-hoc reports.