Partager via


DataSourceReference Element (RDL)

Contains the path to a shared data source.

Syntaxe

<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

DataSource

Child element

None

Notes

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.

Voir aussi

Référence

Report Definition XML Elements
ConnectionProperties Element (RDL)

Aide et Informations

Assistance sur SQL Server 2005