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