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)

[SoapDocumentMethodAttribute(L"", RequestNamespace = L"", 
	ResponseNamespace = L"", 
	Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
void SetItemReferences(
	String^ ItemPath, 
	array<ItemReference^>^ ItemReferences


Type: System::String
The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.
Type: array<ReportService2010::ItemReference>
The item references to set.

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(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.