ReportingService2006.SetModelDrillthroughReports Method

Associates a set of drillthrough reports together with a model.

命名空間: ReportService2006
組件: ReportService2006 (in reportservice2006.dll)

語法

'宣告
Public Sub SetModelDrillthroughReports ( _
    Model As String, _
    ModelItemID As String, _
    Reports As ModelDrillthroughReport() _
)
public void SetModelDrillthroughReports (
    string Model,
    string ModelItemID,
    ModelDrillthroughReport[] Reports
)
public:
void SetModelDrillthroughReports (
    String^ Model, 
    String^ ModelItemID, 
    array<ModelDrillthroughReport^>^ Reports
)
public void SetModelDrillthroughReports (
    String Model, 
    String ModelItemID, 
    ModelDrillthroughReport[] Reports
)
public function SetModelDrillthroughReports (
    Model : String, 
    ModelItemID : String, 
    Reports : ModelDrillthroughReport[]
)

參數

  • Model
    The fully qualified URL of the model including the file name and .smdl file name extension.
  • ModelItemID
    The ID of the model item in the model for which to set model drillthrough 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 SetModelDrillthroughReports 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 SetModelDrillthroughReports method.

You can supply an empty value for the Reports parameter to remove all model drillthrough reports for this entity.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, 如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。, Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0

請參閱

參考

ReportingService2006 Class
ReportingService2006 Members
ReportService2006 Namespace