ReportExecutionService.GetExecutionInfo 方法

Returns information about the report execution.

命名空间:  ReportExecution2005
程序集:  ReportExecution2005(在 ReportExecution2005.dll 中)

语法

声明
Public Function GetExecutionInfo As ExecutionInfo
用法
Dim instance As ReportExecutionService 
Dim returnValue As ExecutionInfo 

returnValue = instance.GetExecutionInfo()
public ExecutionInfo GetExecutionInfo()
public:
ExecutionInfo^ GetExecutionInfo()
member GetExecutionInfo : unit -> ExecutionInfo
public function GetExecutionInfo() : ExecutionInfo

返回值

类型:ReportExecution2005.ExecutionInfo
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 GetExecutionInfo method returns an ExecutionInfo object, which is needed to determine and set report parameters and credentials before calling the Render method.

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

示例

Please see the code example in the Render method.

请参阅

参考

ReportExecutionService 类

ReportExecution2005 命名空间