Share via


Minimal ADF Template

The following application definition file (ADF) template shows the minimum ADF elements required for the application to build successfully. However, there are no subscription classes and notification classes, and there are no rules to generate notifications, so this application will not do anything.

Note

This ADF will compile if you provide a value for the %SystemName% parameter in the instance configuration file (ICF).

This template is intended for those who are familiar with developing Notification Services applications and want a near-empty ADF for starting new applications.

Click Copy Code to copy this template to the Clipboard.

<?xml version="1.0" encoding="utf-8" ?>
<Application xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns="https://www.microsoft.com/MicrosoftNotificationServices/ApplicationDefinitionFileSchema">

    <!-- Version -->
    <!-- History -->
    <!-- Database Definition -->
    <!-- Event Classes -->

    <!-- Subscription Classes -->
    <SubscriptionClasses></SubscriptionClasses>

    <!-- Notification Classes -->
    <NotificationClasses></NotificationClasses>

    <!-- Event Providers -->

    <!-- Generator Settings -->
    <Generator>
        <SystemName>%SystemName%</SystemName>
    </Generator>

    <!-- Distributor Settings -->
    <Distributors>
        <Distributor>
            <SystemName>%SystemName%</SystemName>
        </Distributor>
    </Distributors>

    <!-- Application Execution Settings -->
    <!-- Important: At minimum, you should define
     a vacuuming schedule and turn off some or all
     distributor logging. -->

</Application>

See Also

Concepts

Complete ADF Template

Other Resources

Defining Notification Services Applications
Application Definition File Templates

Help and Information

Getting SQL Server 2005 Assistance