共用方式為


ReportExecutionService.LoadDrillthroughTarget 方法

Creates a report execution from a drillthrough action.

命名空間:  ReportExecution2005
組件:  ReportExecution2005 (在 ReportExecution2005.dll 中)

語法

'宣告
Public Function LoadDrillthroughTarget ( _
    DrillthroughID As String _
) As ExecutionInfo
'用途
Dim instance As ReportExecutionService 
Dim DrillthroughID As String 
Dim returnValue As ExecutionInfo 

returnValue = instance.LoadDrillthroughTarget(DrillthroughID)
public ExecutionInfo LoadDrillthroughTarget(
    string DrillthroughID
)
public:
ExecutionInfo^ LoadDrillthroughTarget(
    String^ DrillthroughID
)
member LoadDrillthroughTarget : 
        DrillthroughID:string -> ExecutionInfo
public function LoadDrillthroughTarget(
    DrillthroughID : String
) : ExecutionInfo

參數

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

傳回值

型別:ReportExecution2005.ExecutionInfo
An ExecutionInfo object containing information for the loaded report.

備註

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.

請參閱

參考

ReportExecutionService 類別

ReportExecution2005 命名空間