ConnectionProperties Element (RDL)

Provides information about the data source.

語法

<DataSource Name="...">
    ...
    <ConnectionProperties>
        <DataProvider>...</DataProvider>
        <ConnectString>...</ConnectString>
        <IntegratedSecurity>...</IntegratedSecurity>
        <Prompt>...</Prompt>
    </ConnectionProperties>
    ...
</DataSource>

Element Characteristics

Characteristic Description

Data type and length

None

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 elements

ConnectString, DataProvider, IntegratedSecurity, Prompt

備註

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

Credential information is not stored within a report definition. Credentials are stored and managed separately on the report server.

請參閱

參考

Report Definition XML Elements
DataSourceReference Element (RDL)

其他資源

指定認證和連接資訊

說明及資訊

取得 SQL Server 2005 協助