Section 18.2. Creating a Notification Services Application


18.2. Creating a Notification Services Application

You can create and configure Notification Services instances and applications by using XML configuration files and SQL Server 2005 Management Studio, or programmatically by using NMO. An application created and configured using XML configuration files can be managed programmatically using NMO. The next section, "Programming Notification Services," discusses programming using NMO.

You need to perform the following tasks to create and configure a Notification Services application using XML configuration files:

  1. Create and configure the Notification Services instance. You can do this in one of two ways:

    • Create an instance configuration file (ICF ) for the Notification Services instance. An ICF is an XML file that describes a Notification Services instance. The ICF names the instance and contains metadata about the instance, the SQL Server instance that hosts the instance database, delivery protocols, delivery channels, and encryption. The configuration file also lists applications hosted in the instance.

    • Use NMO to programmatically configure the Notification Services instance.

  2. Create and configure the Notification Services application. This includes the structure of events, subscriptions, and notifications; configuration information for the distributor and generator; and application execution settings. You can create and configure an application in one of two ways:

    • Create an application definition file (ADF ) for the Notification Services application. An ADF is an XML file that contains metadata defining a Notification Services application. An ADF is required for each application hosted in the Notification Services instance.

    • Use NMO to configure the Notification Services instance programmatically.

  3. Create a subscription management application that lets users sign up and manage their subscriptions and target devices.

  4. Create a subscription management application using NMO subscription management classes.

  5. Create custom event providers, content formatters, and delivery protocols as required.

  6. Deploy the Notification Services application.

For more information about creating and using ICF and ADF files and the schemas for each file type, see Microsoft SQL Server 2005 Books Online.



Programming SQL Server 2005
Programming SQL Server 2005
ISBN: 0596004796
EAN: 2147483647
Year: 2007
Pages: 147
Authors: Bill Hamilton

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net