ReportExecutionService.GetExecutionInfo2 Method

Definition

Returns information about the report execution.

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

Returns

An ExecutionInfo object containing information about the report execution.

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>

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

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

Applies to