ExecutionInfo.AllowQueryExecution Property

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

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)

Syntax

'Declaration
Public Property AllowQueryExecution As Boolean 
    Get 
    Set
'Usage
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)

Property Value

Type: System.Boolean
A Boolean value.

Remarks

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.

See Also

Reference

ExecutionInfo Class

ReportExecution2005 Namespace