Udostępnij za pośrednictwem


Name Element for Application/Parameters/Parameter (ICF)

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

Syntax

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

Remarks

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.

Example

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>

See Also

Reference

Application Definition File Reference

Concepts

Instance Configuration File Reference

Other Resources

Associating Applications with an Instance
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance