Partager via


Propriété AllowQueryExecution

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

Espace de noms :  ReportExecution2005
Assembly :  ReportExecution2005 (en ReportExecution2005.dll)

Syntaxe

'Déclaration
Public Property AllowQueryExecution As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean value.

Notes

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.