다음을 통해 공유


Parameter Element for Application/Parameters (ICF)

Contains one name/value pair that passes a value to a parameter in the application definition file (ADF).

구문

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

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Required once or more per Parameters element.

Updates

Can be added or deleted when updating the instance.

Element Relationships

Relationship Elements

Parent element

Parameters 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.

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

This example shows how to specify a parameter for the ADF with the name NSSystem, which gets its value from an ICF parameter. You must provide a value for the ICF parameter %NSServer% either in the ParameterDefaults section of the instance configuration file (ICF) or when creating the instance.

<Parameter>
    <Name>DistributorSystem</Name>
    <Value>%NSServer%</Value>
</Parameter>

For example, you can provide a value for %NSServer% in the ParameterDefaults section of the ICF.

<ParameterDefaults>
    <Parameter>
        <Name>NSServer</Name>
        <Value>Server01</Value>
    </Parameter>
</ParameterDefaults>

참고 항목

참조

Application Definition File Reference

개념

Instance Configuration File Reference

관련 자료

인스턴스와 응용 프로그램 연결
인스턴스 및 응용 프로그램 업데이트

도움말 및 정보

SQL Server 2005 지원 받기