ReportExecutionService.LoadDrillthroughTarget2 方法

Creates a report execution from a drillthrough action.

命名空间:  ReportExecution2005
程序集:  ReportExecution2005(在 ReportExecution2005.dll 中)

语法

声明
Public Function LoadDrillthroughTarget2 ( _
    DrillthroughID As String _
) As ExecutionInfo2
用法
Dim instance As ReportExecutionService 
Dim DrillthroughID As String 
Dim returnValue As ExecutionInfo2 

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

参数

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

返回值

类型:ReportExecution2005.ExecutionInfo2
An ExecutionInfo2 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:

  • 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): [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]

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.

请参阅

参考

ReportExecutionService 类

ReportExecution2005 命名空间