Export (0) Print
Expand All
Expand Minimize

ReportingService2010.SetItemLink Method

Specifies the catalog item that is used for the item definition of an existing linked item. This method applies to the Report item type.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

[<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemLink", RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member SetItemLink : 
        ItemPath:string * 
        Link:string -> unit 

Parameters

ItemPath
Type: System.String
The fully qualified URL of the linked item including the file name.
Link
Type: 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 Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

UpdateProperties on ItemPath AND (ReadProperties AND CreateLink) on Link

SharePoint Mode Required Permissions

Not supported

If the item specified in the ItemPath parameter already contains an item definition, a SOAP exception is thrown with error code rsWrongItemType.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft