Condividi tramite


Name Element for Application/Parameters/Parameter (ICF)

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

Sintassi

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

Osservazioni

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.

Esempio

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>

Vedere anche

Riferimento

Application Definition File Reference

Concetti

Instance Configuration File Reference

Altre risorse

Associazione di applicazioni a un'istanza
Aggiornamento di istanze e applicazioni

Guida in linea e informazioni

Assistenza su SQL Server 2005