다음을 통해 공유


DataSource Element (RDL)

Describes a data source in the report.

구문

<DataSources>
    ...
        <DataSource Name="...">
            <Transaction>...</Transaction>
            <ConnectionProperties> <!-- or <DataSourceReference> -->
           ...
            </ConnectionProperties> <!-- or /DataSourceReference -->
        </DataSource>
    ...
</DataSources>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-n: Required element that can occur once or more than once.

Element Attributes

Attribute Type Description

Name

String

Name of the data source. Required.

Element Relationships

Relationship Element

Parent element

DataSources

Child elements

ConnectionProperties, DataSourceReference, Transaction

주의

The DataSource element must contain either a ConnectionProperties element or a DataSourceReference element, but it cannot contain both.

The name of the data source must be unique within the report.

참고 항목

참조

Report Definition XML Elements

도움말 및 정보

SQL Server 2005 지원 받기