DataSourceReference Element (RDL)
Contains the path to a shared data source.
구문
<DataSource> Name="...">
...
<DataSourceReference>...</DataSourceReference>
...
</DataSource>
Element Characteristics
Characteristic | Description |
---|---|
Data type and length |
String |
Default value |
None |
Cardinality |
0-1: Optional element that can occur once or not at all. For additional information, see "Remarks." |
Element Relationships
Relationship | Element |
---|---|
Parent element |
|
Child element |
None |
주의
The DataSourceReference element can contain a full folder path (for example, /SampleReports/AdventureWorks) or a relative path (for example, AdventureWorks). Relative paths start in the same folder as the report. The shared data source must be on the same server as the report.
The DataSource element, which is the parent of DataSourceReference, must contain either a ConnectionProperties element or a DataSourceReference element, but it cannot contain both.
참고 항목
참조
Report Definition XML Elements
ConnectionProperties Element (RDL)