Partager via


Value Element for ParameterDefaults/Parameter (ICF)

Specifies the value for a parameter in the instance configuration file (ICF).

Syntaxe

<ParameterDefaults>
    <Parameter>
        ...
        <Value>

Element Characteristics

Characteristic Description

Data type

string, between 0 and 4,000 characters in length.

Default value

None.

Occurrence

Required once per Parameter element.

Updates

Can be modified and then applied when updating the instance.

Element Relationships

Relationship Elements

Parent element

Parameter Element for ParameterDefaults (ICF)

Child elements

None.

Notes

The Value element provides the value to use in place of a parameter.

You can override ParameterDefaults values by specifying the parameter name and value when creating or updating the instance.

Exemple

This example shows how to specify a default parameter value for the parameter named BaseDirPath. Notification Services substitutes "C:\NS" wherever %BaseDirPath% appears in the ICF, unless you specify another value for the parameter on the command line.

<Parameter>
    <Name>BaseDirPath</Name>
    <Value>C:\NS</Value>
</Parameter>

Voir aussi

Référence

Application Definition File Reference

Concepts

Instance Configuration File Reference

Autres ressources

Utilisation de paramètres dans un fichier de configuration d'instance (ICF)
Mise à jour des instances et des applications

Aide et Informations

Assistance sur SQL Server 2005