ExecutionInfo.AllowQueryExecution Property

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

public bool AllowQueryExecution { get; set; }
public:
property bool AllowQueryExecution {
    bool get();
    void set(bool value);
}
member AllowQueryExecution : bool with get, set
Public Property AllowQueryExecution As 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

ExecutionInfo Class
ReportExecution2005 Namespace

Return to top