ReportingService2010.SetItemReferences Method (String, ItemReference[])


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)

	RequestNamespace = "", 
	ResponseNamespace = "", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public void SetItemReferences(
	string ItemPath,
	ItemReference[] ItemReferences


Type: System.String

The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.

Type: 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.

Return to top