GetReportDatasources doesn't return OLAP?

Feb 18 at 1:05 PM
Hi,

i try to read the datasource frmo my RDL Report with call of "GetReportDatasources". But the method filters returned values via "OfType<DataSourceReference>". But the data source in the Report is an DataSourceDefinition which Points to a SSAS DB.
When is a DataSourceReference returned? When one has shared data sources?

Thanks,
Alex
Coordinator
Feb 18 at 9:11 PM
A shared datasource is when you define the datasource outside the report and reference it in the report. See http://technet.microsoft.com/en-us/library/ms159863(v=sql.100).aspx for more details.

Basically it lets you create one datasource and reuse it in multiple reports.
Feb 19 at 8:41 AM
Ok, thanks for the Information!

But the Problem is still present: Calling the method GetReportDatasources does only return that shared data sources. I've changed that for me, locally. But maybe this is a bug?