ExecutionInfo.AllowQueryExecution Property

Definition

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

public:
 property bool AllowQueryExecution { bool get(); void set(bool value); };
public bool AllowQueryExecution { get; set; }
member this.AllowQueryExecution : bool with get, set
Public Property AllowQueryExecution As Boolean

Property Value

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.

Applies to