ReportingService2010.SetModelDrillthroughReports Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Associe un ensemble de rapports de drillthrough à un modèle.
public:
void SetModelDrillthroughReports(System::String ^ Model, System::String ^ ModelItemID, cli::array <ReportService2010::ModelDrillthroughReport ^> ^ Reports);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetModelDrillthroughReports", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void SetModelDrillthroughReports(string Model, string ModelItemID, ReportService2010.ModelDrillthroughReport[] Reports);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetModelDrillthroughReports", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.SetModelDrillthroughReports : string * string * ReportService2010.ModelDrillthroughReport[] -> unit
Public Sub SetModelDrillthroughReports (Model As String, ModelItemID As String, Reports As ModelDrillthroughReport())
Paramètres
- Model
- String
L’URL entièrement qualifiée du modèle, incluant le nom du fichier et l’extension du nom de fichier .smdl.
- ModelItemID
- String
L’identifiant de l’élément du modèle dans le modèle pour lequel définir les rapports de drillthrough du modèle
- Reports
- ModelDrillthroughReport[]
Tableau d'objets ModelDrillthroughReport.
- Attributs
Remarques
Le tableau ci-dessous présente les informations sur l’en-tête et les autorisations concernant cette opération.
| Utilisation de l’en-tête SOAP | (En) TrustedUserHeaderValue (Dehors) ServerInfoHeaderValue |
| Mode natif : autorisations requises |
UpdateContent sur Model ET ReadProperties sur chaque rapport dans Reports |
| Permissions requises en mode SharePoint |
<xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> sur Model ET <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> sur chaque rapport dans Reports |
S’il n’y a pas de rapports de drillthrough définis, l’utilisateur sera dirigé vers un rapport de clics généré dynamiquement.
Les rapports de drillthrough peuvent être à instance unique ou à instances multiples. , Vous pouvez définir un exemplaire de chaque type de ModelDrillthroughReport pour un élément de modèle. Vous spécifiez le type du rapport de drillthrough du modèle en attribuant la Type propriété de l’objet ModelDrillthroughReport à une valeur d’énumérateur valide DrillthroughType de Detail pour une instance unique ou List.
Lorsqu’il SetModelDrillthroughReports est appelé, les rapports de drillthrough du modèle précédent sont remplacés par l’ensemble fourni de rapports de drillthrough.
Pour supprimer un rapport de drillthrough de modèle spécifique, omettez son entrée à partir Reports de l’appel de la SetModelDrillthroughReports méthode.
Vous pouvez fournir une valeur vide pour le Reports paramètre afin de supprimer tous les rapports de drillthrough de modèles pour cette entité.