ReportExecutionService.ResetExecution2 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resets the current report execution by clearing the snapshot and resetting the session state.
public:
ReportExecution2005::ExecutionInfo2 ^ ResetExecution2();
public ReportExecution2005.ExecutionInfo2 ResetExecution2 ();
member this.ResetExecution2 : unit -> ReportExecution2005.ExecutionInfo2
Public Function ResetExecution2 () As ExecutionInfo2
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 Render2 will require reprocessing.
When the AllowQueryExecution property is false
, subsequent calls to Render2 will reload the snapshot and the session state will be reset after calling the ResetExecution2 method.