Share via


ReportingService2010.GetItemLink(String) メソッド

定義

指定したリンク アイテムでアイテム定義が使用されているアイテムの名前を返します。このメソッドは、アイテムの種類 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

パラメーター

ItemPath
String

ファイル名を含む、リンク アイテムの完全修飾 URL です。

戻り値

指定したリンク アイテムのアイテム定義を含む、アイテムの完全なパス名です。

属性

注釈

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダーの使用方法 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
ネイティブ モードで必要なアクセス許可 ReadProperties
SharePoint モードに必要なアクセス許可 サポートされていません

リンク アイテムのアイテム定義を含むアイテムが個人用レポート フォルダーにある場合、返されるパスは実際のパスであり、アイテムの仮想パスではありません。

リンク アイテムが関連付けられているアイテムを削除すると、そのリンク アイテムは実行できなくなります。

適用対象