Bagikan melalui


ReportingService2006.ListModelDrillthroughReports Method

Lists drillthrough reports associated with an entity in a model.

Namespace:  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Syntax

'Declaration
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelDrillthroughReports", 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)> _
Public Function ListModelDrillthroughReports ( _
    Model As String, _
    ModelItemID As String _
) As ModelDrillthroughReport()
'Usage
Dim instance As ReportingService2006
Dim Model As String
Dim ModelItemID As String
Dim returnValue As ModelDrillthroughReport()

returnValue = instance.ListModelDrillthroughReports(Model, _
    ModelItemID)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelDrillthroughReports", 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)]
public ModelDrillthroughReport[] ListModelDrillthroughReports(
    string Model,
    string ModelItemID
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelDrillthroughReports", 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)]
public:
array<ModelDrillthroughReport^>^ ListModelDrillthroughReports(
    String^ Model, 
    String^ ModelItemID
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ListModelDrillthroughReports", 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)>]
member ListModelDrillthroughReports : 
        Model:string * 
        ModelItemID:string -> ModelDrillthroughReport[] 
public function ListModelDrillthroughReports(
    Model : String, 
    ModelItemID : String
) : ModelDrillthroughReport[]

Parameters

  • Model
    Type: System.String
    The fully qualified URL of the model including the file name and .smdl file name extension.
  • ModelItemID
    Type: System.String
    The ID of an entity in the model for which to list drillthrough reports.

Return Value

Type: array<ReportService2006.ModelDrillthroughReport[]
An array of ModelDrillthroughReport objects.

Remarks

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

OpenItems()

This method returns only the model drillthrough reports for which the user has “Read Properties” permission.