Langage

ReportingService2010.GetItemLink(String) Méthode

Définition

Retourne le nom de l’élément dont la définition de l’élément est utilisée pour l’élément lié spécifié. Cette méthode s’applique au type d’objet Report .

public:
 System::String ^ GetItemLink(System::String ^ ItemPath);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemLink", 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 string GetItemLink(string ItemPath);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemLink", 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.GetItemLink : string -> string
Public Function GetItemLink (ItemPath As String) As String

Paramètres

ItemPath
String

L’URL entièrement qualifiée de l’élément lié, y compris le nom du fichier.

Retours

Le nom complet du chemin de l’élément contenant la définition de l’élément lié spécifié.

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 ReadProperties
Permissions requises en mode SharePoint Non prise en charge

Si l’élément contenant la définition d’un élément lié se trouve dans le dossier Mes rapports, le chemin retourné est le vrai chemin et non le chemin virtuel vers l’élément.

Si un élément est supprimé et qui a des éléments liés à lui, les éléments liés ne s’exécutent plus.

S’applique à