Share via


ReportExecutionService.LoadDrillthroughTarget2(String) Method

Definition

Creates a report execution from a drillthrough action.

public:
 ReportExecution2005::ExecutionInfo2 ^ LoadDrillthroughTarget2(System::String ^ DrillthroughID);
public ReportExecution2005.ExecutionInfo2 LoadDrillthroughTarget2 (string DrillthroughID);
member this.LoadDrillthroughTarget2 : string -> ReportExecution2005.ExecutionInfo2
Public Function LoadDrillthroughTarget2 (DrillthroughID As String) As ExecutionInfo2

Parameters

DrillthroughID
String

The ID of the drillthrough item.

Returns

An ExecutionInfo2 object containing information for the loaded report.

Remarks

The table below shows header and permissions information on this operation.

SOAP Header Usage (In) TrustedUserHeaderValue

(InOut) ExecutionHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions Depends on the item type of the drillthrough target:

- Report: ExecuteAndView
- Model with an associated published report: ReadProperties on the model and ExecuteAndView on the report
- Model without an associated published report (generating a report): ReadProperties on the model and ExecuteReportDefinition (System)
SharePoint Mode Required Permissions Depends on the item type of the drillthrough target:

- Report: <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems>
- Model with an associated published report: <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> on the model and the report
- Model without an associated published report (generating a report): <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> on the model and <xref:Microsoft.SharePoint.SPBasePermissions.UseRemoteAPIs>

LoadDrillthroughTarget2 is used by clients to create a new report execution based on a drillthrough action. Drillthrough IDs are rendered into the original report stream by interactive rendering extensions. This method uses the specified DrillthroughID to load the target report.

Applies to