Condividi tramite


DataSourceReference Element (RDL)

Contains the path to a shared data source.

Sintassi

<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

Osservazioni

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.

Vedere anche

Riferimento

Report Definition XML Elements
ConnectionProperties Element (RDL)

Guida in linea e informazioni

Assistenza su SQL Server 2005