ReportExecutionService.LoadDrillthroughTarget Method

Creates a report execution from a drillthrough action.

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)

Syntax

'Declaration
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/LoadDrillthroughTarget", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExecutionHeaderValue", Direction := SoapHeaderDirection.InOut)> _
Public Function LoadDrillthroughTarget ( _
    DrillthroughID As String _
) As ExecutionInfo
'Usage
Dim instance As ReportExecutionService
Dim DrillthroughID As String
Dim returnValue As ExecutionInfo

returnValue = instance.LoadDrillthroughTarget(DrillthroughID)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/LoadDrillthroughTarget", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ExecutionHeaderValue", Direction = SoapHeaderDirection.InOut)]
public ExecutionInfo LoadDrillthroughTarget(
    string DrillthroughID
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/LoadDrillthroughTarget", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"ExecutionHeaderValue", Direction = SoapHeaderDirection::InOut)]
public:
ExecutionInfo^ LoadDrillthroughTarget(
    String^ DrillthroughID
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/LoadDrillthroughTarget", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("ExecutionHeaderValue", Direction = SoapHeaderDirection.InOut)>]
member LoadDrillthroughTarget : 
        DrillthroughID:string -> ExecutionInfo 
public function LoadDrillthroughTarget(
    DrillthroughID : String
) : ExecutionInfo

Parameters

  • DrillthroughID
    Type: System.String
    The ID of the drillthrough item.

Return Value

Type: ReportExecution2005.ExecutionInfo
An ExecutionInfo 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:

Model without an associated published report (generating a report): [F:Microsoft.ReportingServices.Interfaces.ModelOperation.ReadPropertiesonthemodelandF:Microsoft.ReportingServices.Interfaces.CatalogOperation.ExecuteReportDefinition(System)]

SharePoint Mode Required Permissions

Depends on the item type of the drillthrough target:

  • Report: ViewListItems()

  • Model with an associated published report: ViewListItems() on the model and the report

  • Model without an associated published report (generating a report): [F:Microsoft.SharePoint.SPBasePermissions.ViewListItemsonthemodelandF:Microsoft.SharePoint.SPBasePermissions.UseRemoteAPIs]

LoadDrillthroughTarget 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.