ReportExecutionService.GetExecutionInfo 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.
Returns information about the report execution.
public:
ReportExecution2005::ExecutionInfo ^ GetExecutionInfo();
public ReportExecution2005.ExecutionInfo GetExecutionInfo ();
member this.GetExecutionInfo : unit -> ReportExecution2005.ExecutionInfo
Public Function GetExecutionInfo () As ExecutionInfo
Returns
An ExecutionInfo object containing information about the report execution.
Examples
Please see the code example in the Render method.
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 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.