DataSourceReference Element (RDL)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Contains the path to a shared data source.

Datatype Characteristics

Characteristic Description

Data type and length

String

Default value

None

Element Relationships

Relationship Element

Parent elements

DataSource Element (RDL)

Child elements

None

Remarks

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. If report server is running in SharePoint integrated mode, the data source path must be a URL to a library or library folder (for example, http://TestServer/TestSite/Documents).

The DataSource element, which is the parent of DataSourceReference, must contain either a ConnectionProperties element or a DataSourceReference element, but it cannot contain both.

See Also

Reference

Report Definition Language XML Schema
Report Definition XML Elements

Concepts

Report Definition Language Data Types

Other Resources

Development (Reporting Services)
Data Sources Supported by Reporting Services
Defining Report Data Sources
Deploying Reports, Models, and Shared Data Sources to a SharePoint Site

Help and Information

Getting SQL Server 2008 Assistance