共用方式為


ReportExecutionService.ResetExecution 方法

Resets the current report execution by clearing the snapshot and resetting the session state.

命名空間:  ReportExecution2005
組件:  ReportExecution2005 (在 ReportExecution2005.dll 中)

語法

'宣告
Public Function ResetExecution As ExecutionInfo
'用途
Dim instance As ReportExecutionService 
Dim returnValue As ExecutionInfo 

returnValue = instance.ResetExecution()
public ExecutionInfo ResetExecution()
public:
ExecutionInfo^ ResetExecution()
member ResetExecution : unit -> ExecutionInfo
public function ResetExecution() : ExecutionInfo

傳回值

型別:ReportExecution2005.ExecutionInfo
An ExecutionInfo object.

備註

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(In) ExecutionHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

On the main report and all subreports: ReadProperties AND ExecuteAndView

SharePoint Mode Required Permissions

On the main report and all subreports: ViewListItems

For live reports, subsequent calls to Render will require reprocessing.

When the AllowQueryExecution property is false, subsequent calls to Render will reload the snapshot and the session state will be reset after calling the ResetExecution method.

請參閱

參考

ReportExecutionService 類別

ReportExecution2005 命名空間