Méthode ListModelDrillthroughReports

Répertorie les rapports d'extraction associés à une entité dans un modèle.

Espace de noms :  ReportService2010
Assembly :  ReportService2010 (en ReportService2010.dll)

Syntaxe

'Déclaration
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListModelDrillthroughReports", RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
Public Function ListModelDrillthroughReports ( _
    Model As String, _
    ModelItemID As String _
) As ModelDrillthroughReport()
'Utilisation
Dim instance As ReportingService2010
Dim Model As String
Dim ModelItemID As String
Dim returnValue As ModelDrillthroughReport()

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

Paramètres

  • Model
    Type : System. . :: . .String
    URL complète du modèle, y compris le nom de fichier et l'extension de nom de fichier .smdl.
  • ModelItemID
    Type : System. . :: . .String
    ID d'une entité dans le modèle pour lequel les rapports d'extraction doivent être répertoriés.

Valeur de retour

Type : array<ReportService2010. . :: . .ModelDrillthroughReport> [] () [] []
Tableau d'objets ModelDrillthroughReport.

Notes

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

ReadContent

SharePoint Mode Required Permissions

OpenItems()()()()

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