ExecutionInfo.AllowQueryExecution 屬性

定義

表示使用者是否被允許提供查詢中使用的參數值。

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

屬性值

一個 Boolean 值。

備註

AllowQueryExecutiontrue,當方法被呼叫時 ResetExecution ,快照會被清除。

AllowQueryExecution 將回來 false 提供執行與歷史快照,以及 true 即時報告與臨時報告。

適用於