다음을 통해 공유


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.

[!참고] 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>

참고 항목

개념

Complete ADF Template

관련 자료

Notification Services 응용 프로그램 정의
Application Definition File Templates

도움말 및 정보

SQL Server 2005 지원 받기