Condividi tramite


Applications Element (ICF)

Contains one or more Application elements, each of which describes an application hosted by the instance.

Sintassi

<NotificationServicesInstance>
    ...
    <Applications>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Required once per NotificationServicesInstance element.

Updates

Cannot be added or deleted when updating the instance.

Element Relationships

Relationship Elements

Parent element

NotificationServicesInstance Element (ICF)

Child elements

Application Element (ICF)

Esempio

This example shows a complete Applications element with two applications. The example illustrates using parameters for the BaseDirectoryPath element and passing values to the application definition file (ADF). Values for %BaseDirectoryPath%, %DBSystem%, and %NSSystem% are specified either on the command line or in the ParameterDefaults section.

<Applications>
    <Application>
        <ApplicationName>Stock</ApplicationName>
        <BaseDirectoryPath>%BaseDirectoryPath%</BaseDirectoryPath>
        <ApplicationDefinitionFilePath>
        appDefinition\StockADF.xml
        </ApplicationDefinitionFilePath>
        <Parameters>
            <Parameter>
                <Name>DBSystem</Name>
                <Value>%DBSystem%</Value>
            </Parameter>
            <Parameter>
                <Name>NSSystem</Name>
                <Value>%NSSystem%</Value>
            </Parameter>
        </Parameters>
    </Application>
    <Application>
        <ApplicationName>Horoscope</ApplicationName>
        <BaseDirectoryPath>%BaseDirectoryPath%</BaseDirectoryPath>
        <ApplicationDefinitionFilePath>
        appDefinition\HoroscopeADF.xml
        </ApplicationDefinitionFilePath>
        <Parameters>
            <Parameter>
                <Name>DBSystem</Name>
                <Value>%DBSystem%</Value>
            </Parameter>
            <Parameter>
                <Name>NSSystem</Name>
                <Value>%NSSystem%</Value>
            </Parameter>
        </Parameters>
    </Application>
</Applications>

Vedere anche

Riferimento

Application Definition File Reference

Concetti

Instance Configuration File Reference

Guida in linea e informazioni

Assistenza su SQL Server 2005