共用方式為


ReportingService2005.SetReportLink 方法

Specifies the report that is used for the report definition of an existing linked report.

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
Public Sub SetReportLink ( _
    Report As String, _
    Link As String _
)
'用途
Dim instance As ReportingService2005 
Dim Report As String 
Dim Link As String

instance.SetReportLink(Report, Link)
public void SetReportLink(
    string Report,
    string Link
)
public:
void SetReportLink(
    String^ Report, 
    String^ Link
)
member SetReportLink : 
        Report:string * 
        Link:string -> unit
public function SetReportLink(
    Report : String, 
    Link : String
)

參數

  • Report
    型別:System.String
    The full path name of the linked report.
  • Link
    型別:System.String
    The full path name of the report that contains the report definition.

備註

The table below shows header and permissions information on this operation.

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

UpdateProperties on Report AND (ReadProperties AND CreateLink) on Link

If the report specified in the Report parameter already contains a report definition, a SOAP exception is thrown with error code rsWrongItemType.

Using this method changes the ModifiedBy, ModifiedDate, and Size properties of the report.

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間