共用方式為


ExecutionInfo.AllowQueryExecution Property

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

命名空間: Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005
組件: ReportExecution2005 (in reportexecutionservice.dll)

語法

'宣告
Public Property AllowQueryExecution As Boolean
public bool AllowQueryExecution { get; set; }
public:
property bool AllowQueryExecution {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_AllowQueryExecution ()

/** @property */
public void set_AllowQueryExecution (boolean value)
public function get AllowQueryExecution () : boolean

public function set AllowQueryExecution (value : boolean)

屬性值

A Boolean value.

備註

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.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ExecutionInfo Class
ExecutionInfo Members
Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005 Namespace