Compartir por


DataSourceReference Element (RDL)

Contains the path to a shared data source.

Sintaxis

<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

Notas

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.

Vea también

Referencia

Report Definition XML Elements
ConnectionProperties Element (RDL)

Ayuda e información

Obtener ayuda sobre SQL Server 2005