ReportingService2010.SetItemReferences Method
Sets the catalog items associated with an item. This method applies to the Report and Dataset item types.
Namespace: ReportService2010
Assembly: ReportService2010 (in ReportService2010.dll)
[SoapHeaderAttribute("TrustedUserHeaderValue")] [SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemReferences", 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("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)] public void SetItemReferences( string ItemPath, ItemReference[] ItemReferences )
Parameters
- ItemPath
- Type: System.String
The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.
- ItemReferences
- Type: ReportService2010.ItemReference[]
The item references to set.
The table below shows header and permissions information on this operation.
SOAP Header Usage | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | If the item type is Report or LinkedReport:
If the item type is DataSet:
If item type is Model: UpdateDatasource on ItemPath AND ReadProperties on the data source |
SharePoint Mode Required Permissions | EditListItems on ItemPath AND ViewListItems on each item in ItemReferences |
Use this method to set a report's references to shared datasets, a report's references to shared data sources, and a shared dataset's references to shared data sources.
