共用方式為


Parameters Element (ICF)

Contains an application-specific set of parameters. The parameters are passed to an application definition file (ADF).

語法

<Applications>
    <Application>
        ...
        <Parameters>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per Application element.

Updates

Can be added or deleted when updating the instance.

Element Relationships

Relationship Elements

Parent element

Application Element (ICF)

Child elements

Name Element for Application/Parameters/Parameter (ICF)

Value Element for Application/Parameters/Parameter (ICF)

備註

Parameters in the Application/Parameters section are passed to the application's ADF when you create the instance or update the application. These values override the ParameterDefault settings in the ADF.

範例

This example shows how to specify a parameter for the ADF with the name DBSystem. MyDBServer, specified by the Value element, is substituted for %DBSystem% in the ADF.

<Parameters>
    <Parameter>
        <Name>DBSystem</Name>
        <Value>MyDBServer</Value>
    </Parameter>
</Parameters>

請參閱

參考

Application Definition File Reference

概念

Instance Configuration File Reference

其他資源

將應用程式與執行個體關聯
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助