Associates a set of drillthrough reports together with a model.
Assembly: ReportService2010 (in ReportService2010.dll)
public function SetModelDrillthroughReports( Model : String, ModelItemID : String, Reports : ModelDrillthroughReport )
- Type: String
The fully qualified URL of the model including the file name and .smdl file name extension.
- Type: String
The ID of the model item in the model for which to set model drillthrough reports
The table below shows header and permissions information on this operation.
SOAP Header Usage
Native Mode Required Permissions
SharePoint Mode Required Permissions
ViewListItems on Model AND F[:Microsoft.SharePoint.SPBasePermissions.ViewListItems] on each report in Reports
If there are no drillthrough reports defined, the user will be directed to a dynamically generated clickthrough report.
Drillthrough reports can be single-instance or multiple instance. , You can set one of each type of ModelDrillthroughReport for a model item. You specify the type of the model drillthrough report by setting the Type property of the ModelDrillthroughReport object to a valid DrillthroughType enumerator value of Detail for single-instance or List.
When is called, the previous model drillthrough reports are replaced with the supplied set of drillthrough reports.
To remove a specific model drillthrough report, omit its entry from Reports when you call the method.
You can supply an empty value for the Reports parameter to remove all model drillthrough reports for this entity.