Share via


ReportExecutionService.ResetExecution Method

Definition

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

public:
 ReportExecution2005::ExecutionInfo ^ ResetExecution();
public ReportExecution2005.ExecutionInfo ResetExecution ();
member this.ResetExecution : unit -> ReportExecution2005.ExecutionInfo
Public Function ResetExecution () As ExecutionInfo

Returns

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: <xref:Microsoft.SharePoint.SPBasePermissions.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.

Applies to