共用方式為


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.

ms145232.note(zh-tw,SQL.90).gif附註:
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 協助