ReportingService2005.SetItemDataSources Method (String, DataSource)
Sets the data sources for an item in the catalog.
Assembly: ReportService2005 (in ReportService2005.dll)
The full name of the item for which to set the data sources. Accepts an EditSessionID generated by the M:ReportService2005.ReportingService2005.CreateReportEditSession(System.String,System.String,System.Byte) method.
The table below shows header and permissions information on this operation.
Depends on the item type of Item:
returns an error when data source properties are set on a linked report item type.
An rsDataSourceNotFound error is returned if a data source that is not associated with the item is passed into the method.
When the type of Item specified is a model, the DataSourceReference specified cannot reference a model or have data source credentials set to Prompt.
If multiple data sources exist on an item, only those data sources that are being changed may be submitted.