Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ReportExecutionService.GetExecutionInfo Method

Returns information about the report execution.

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/GetExecutionInfo", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ExecutionInfo GetExecutionInfo()

Return Value

Type: 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.