Export (0) Print
Expand All
Expand Minimize

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(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetItemReferences", RequestNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	ResponseNamespace = L"http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
void SetItemReferences(
	String^ ItemPath, 
	array<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: 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.

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

Community Additions

ADD
Show:
© 2014 Microsoft