Method AddSharedDataSource
- Namespace
- ReportWright.Design
- Assembly
- ReportWright.Design.dll
AddSharedDataSource(string, string)
Adds a data source that references a shared data source the host offers, as one entry: the report holds the reference and nothing about the connection, as a Reporting Services report referencing a shared data source does.
public RdlElement AddSharedDataSource(string name, string sharedReference)
Parameters
namestringThe report's name for it; made unique among data sources.
sharedReferencestringThe shared data source's name or server path.
Returns
- RdlElement
The element.