Share via


ReportingService2005.SetReportLink(String, String) 方法

定义

指定用于现有链接报表的报表定义的报表。

public:
 void SetReportLink(System::String ^ Report, System::String ^ Link);
public void SetReportLink (string Report, string Link);
member this.SetReportLink : string * string -> unit
Public Sub SetReportLink (Report As String, Link As String)

参数

Report
String

链接报表的完整路径名。

Link
String

包含报表定义的报表的完整路径名。

注解

下表显示了有关此操作的标头和权限信息。

SOAP 标头 (In) BatchHeaderValue

(Out) ServerInfoHeaderValue
所需的权限 UpdateProperties on Report and (ReadProperties and CreateLink) on Link

如果在 参数中指定的 Report 报表已包含报表定义,则会引发 SOAP 异常并显示错误代码 rsWrongItemType

使用此方法更改报表的 ModifiedByModifiedDateSize 属性。

适用于