Notification Services - Programming Notification Services
(Page 3 of 4 )
You can build a Notification Services solution by configuring the Notification Services instance in the IDF file and defining an ADF for the application, as described in the preceding section. Alternatively, you can use NMO classes to configure the instance and define the instance. Programming with NMO classes is the focus of this section.
NMO contains classes that are used to programmatically create and administer Notification Services instances and applications. Figure 18-2 shows the relationship between NMO classes.
The NMO namespaceMicrosoft.SqlServer.Management.Nmocontains classes used to develop Notification Services instances and applications. TheMicrosoft.SqlServer. NotificationServices namespace contains classes and interfaces for developing custom event providers, content formatters, and delivery protocols. It also contains the subscription management interfaces.
The remainder of this chapter describes the NMO classes and provides examples that show how to use them. You need a reference to the following assemblies to compile and run the examples:
- Microsoft.SqlServer.ConnectionInfo
- Microsoft.SqlServer.NotificationServices
- Microsoft.SqlServer.Smo
NotificationServicesis the top-level class in the NMO class hierarchy and represents a Notification Services server.

Figure 18-2. NMO class hierarchy
Next: Creating a Notification Services Application and Service >>
More MS SQL Server Articles
More By O'Reilly Media
|
This article is excerpted from chapter 18 of the book Programming SQL Server 2005, written by Bill Hamilton (O'Reilly, 2006; ISBN: 0596004796). Check it out today at your favorite bookstore. Buy this book now.
|
|