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


Метод ReportExecutionService.GetExecutionInfo2

Returns information about the report execution.

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

Синтаксис

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

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

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

Тип: ReportExecution2005.ExecutionInfo2
An ExecutionInfo object containing information about the report execution.

Замечания

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

The GetExecutionInfo2 method returns an ExecutionInfo2 object, which is needed to determine and set report parameters and credentials before calling the Render2(String, String, String, String, String, Warning, String) method.

Use this method iteratively with the SetExecutionParameters2 method to evaluate parameters that have query- or expression-based defaults.

См. также

Справочник

ReportExecutionService Класс

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