共用方式為


Application Element (ICF)

Contains elements that describe a single notification application hosted by the instance of Notification Services.

語法

<Applications>
    <Application>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Required once or more within the Applications element.

Updates

Can be added or deleted when updating the instance.

Element Relationships

Relationship Elements

Parent element

Applications Element (ICF)

Child elements

ApplicationName Element (ICF)

BaseDirectoryPath Element (ICF)

ApplicationDefinitionFilePath Element (ICF)

Parameters Element (ICF)

備註

If the instance hosts multiple applications, the instance configuration file contains multiple Application elements, each with child elements that describe their applications.

範例

This example shows an Application element with its child elements:

<Application>
    <ApplicationName>Stock</ApplicationName>
    <BaseDirectoryPath>C:\NSApps\Stock</BaseDirectoryPath>
    <!-- Path and file name relative to BaseDirectoryPath -->
    <ApplicationDefinitionFilePath>
        appDefinition\StockADF.xml
    </ApplicationDefinitionFilePath>
    <!-- Parameter names and values to pass to ADF -->
    <Parameters>
        <Parameter>
            <Name>DBSystem</Name>
            <Value>MySqlServer</Value>
        </Parameter>
        <Parameter>
            <Name>NSSystem</Name>
            <Value>MyNSServer</Value>
        </Parameter>
    </Parameters>
</Application>

請參閱

參考

Application Definition File Reference

概念

Instance Configuration File Reference

其他資源

更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助