Microsoft SQL Server 2005 Notification Services

IN THIS CHAPTER

  • Overview of the NMO API

  • An NMO Sample Application

  • Using NMO to Define and Create an Instance

  • Using NMO to Administer an Instance

  • Testing the StockBrokerNMO Sample Application

  • Using NMO to Reflect the Contents of an Instance

This chapter introduces Notification Services Management Objectsthe new API in SQL Server 2005 that provides programmatic access to SQL-NS management operations. Using this API, you can embed the functionality of the SQL-NS tools (nscontrol and Management Studio) in your own applications.

The Notification Services Management Objects (NMO) API wraps the functionality of the SQL-NS create, register, enable, disable, update, export, and delete operations in a convenient, reusable class library. In addition, the API provides a way to define new SQL-NS instances programmatically (instead of using XML) and enumerate the properties of existing instances. In this chapter, we explore all these uses of Notification Services Management Objects.

Категории