다음을 통해 공유


SetModelDrillthroughReports 메서드

Associates a set of drillthrough reports together with a model.

네임스페이스:  ReportService2006
어셈블리:  ReportService2006.dll의 ReportService2006

구문

‘선언
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetModelDrillthroughReports", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Sub SetModelDrillthroughReports ( _
    Model As String, _
    ModelItemID As String, _
    Reports As ModelDrillthroughReport() _
)
‘사용 방법
Dim instance As ReportingService2006
Dim Model As String
Dim ModelItemID As String
Dim Reports As ModelDrillthroughReport()

instance.SetModelDrillthroughReports(Model, _
    ModelItemID, Reports)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetModelDrillthroughReports", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public void SetModelDrillthroughReports(
    string Model,
    string ModelItemID,
    ModelDrillthroughReport[] Reports
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetModelDrillthroughReports", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
void SetModelDrillthroughReports(
    String^ Model, 
    String^ ModelItemID, 
    array<ModelDrillthroughReport^>^ Reports
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetModelDrillthroughReports", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member SetModelDrillthroughReports : 
        Model:string * 
        ModelItemID:string * 
        Reports:ModelDrillthroughReport[] -> unit 
public function SetModelDrillthroughReports(
    Model : String, 
    ModelItemID : String, 
    Reports : ModelDrillthroughReport[]
)

매개 변수

  • Model
    형식: System. . :: . .String
    The fully qualified URL of the model including the file name and .smdl file name extension.
  • ModelItemID
    형식: System. . :: . .String
    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.