ReportingService2005.SetModelDrillthroughReports Method (String, String, ModelDrillthroughReport )
Applies To: SQL Server 2016 Preview
Associates a set of drill-through reports with a model.
Namespace: ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
Syntax
public void SetModelDrillthroughReports(
string Model,
string ModelItemID,
ModelDrillthroughReport[] Reports
)
public:
void SetModelDrillthroughReports(
String^ Model,
String^ ModelItemID,
array<ModelDrillthroughReport^>^ Reports
)
member SetModelDrillthroughReports :
Model:string *
ModelItemID:string *
Reports:ModelDrillthroughReport[] -> unit
Public Sub SetModelDrillthroughReports (
Model As String,
ModelItemID As String,
Reports As ModelDrillthroughReport()
)
Parameters
Model
Type: System.StringThe full path of the model.
ModelItemID
Type: System.StringThe ID of the model item in the model for which to set model drill-through reports.
Reports
Type: ReportService2005.ModelDrillthroughReport[]An array of ModelDrillthroughReport objects.
Remarks
The table below shows header and permissions information on this operation.
SOAP Headers |
(In) BatchHeaderValue (Out) ServerInfoHeaderValue |
Required Permissions |
UpdateContent on Model AND ReadProperties on each report in Reports |
If there are no drill-through reports defined, the user will be directed to a dynamically generated click-through report.
For a model item, you may set one of each type of ModelDrillthroughReport (a single instance or a multiple instance). You may specify the type of the model drill-through report by setting the Type property of the ModelDrillthroughReport object to a valid DrillthroughType enumerator value of SingleInstance or MultipleInstance.
When SetModelDrillthroughReports is called, the previous model drill-through reports are replaced with the supplied set of drill-through reports.
To remove a specific model drill-through report, omit its entry when calling the SetModelDrillthroughReport method.
Supplying an empty value for the Reports parameter removes all model drill-through reports for this entity.
See Also
ReportingService2005 Class
ReportService2005 Namespace
Return to top