Поделиться через


Name Element for Application/Parameters/Parameter (ICF)

Specifies the name of a parameter to be passed to the application definition file (ADF).

Синтаксис

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

Element Characteristics

Characteristic Description

Data type

string, between 1 and 255 characters in length.

Default value

None.

Occurrence

Required once per Parameter element.

Updates

Can be modified when updating the instance.

Element Relationships

Relationship Elements

Parent element

Parameter Element for Application/Parameters (ICF)

Child elements

None.

Замечания

If you supply a parameter name and value in the Application/Parameters section of the instance configuration file (ICF), the value replaces a parameter with the same name in the application definition file (ADF). For example, if you have a parameter name/value pair of File and Stock.htm in the Application/Parameters section of the ICF, then every occurrence of %File% in the ADF is replaced with Stock.htm.

You can use parameters in this section by providing values in the ICF's ParameterDefaults section or when creating and updated the instance of Notification Services.

Пример

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

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

См. также

Справочник

Application Definition File Reference

Основные понятия

Instance Configuration File Reference

Другие ресурсы

Соединение приложений с экземпляром
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005