Поделиться через


Метод ReportExecutionService.ResetExecution2

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

Пространство имен:  ReportExecution2005
Сборка:  ReportExecution2005 (в ReportExecution2005.dll)

Синтаксис

'Декларация
Public Function ResetExecution2 As ExecutionInfo2
'Применение
Dim instance As ReportExecutionService 
Dim returnValue As ExecutionInfo2 

returnValue = instance.ResetExecution2()
public ExecutionInfo2 ResetExecution2()
public:
ExecutionInfo2^ ResetExecution2()
member ResetExecution2 : unit -> ExecutionInfo2
public function ResetExecution2() : ExecutionInfo2

Возвращаемое значение

Тип: ReportExecution2005.ExecutionInfo2
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 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.

См. также

Справочник

ReportExecutionService Класс

Пространство имен ReportExecution2005