Share via


ReportExecutionService.ResetExecution Method

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

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

Syntax

'Declaration
Public Function ResetExecution As ExecutionInfo
'Usage
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

Return Value

Type: ReportExecution2005.ExecutionInfo
An ExecutionInfo object.

Remarks

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.

See Also

Reference

ReportExecutionService Class

ReportExecution2005 Namespace