ReportingService2005.SetReportLink(String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定用于现有链接报表的报表定义的报表。
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
。
使用此方法更改报表的 ModifiedBy、 ModifiedDate 和 Size 属性。