The following features were added to SQL Server 2005 Notification Services.
Integration into SQL Server Management Studio
Notification Services is now integrated into SQL Server Management Studio Object Explorer. Using Object Explorer, you can perform most nscontrol command prompt utility tasks, as well as start and stop instances of Notification Services .
You can also use SQL Server Management Studio as your XML and Transact-SQL editor. If you create a SQL Server Management Studio solution for a Notification Services instance, you can easily edit your instance configuration file (ICF), application definition files (ADFs), and Transact-SQL scripts for managing security or administering the instance, and you can then deploy the instance using Object Explorer. For a tutorial that guides you through this process, see Notification Services Tutorial.
To learn more about SQL Server Management Studio, see Introducing SQL Server Management Studio.
Support for Subscriber-Defined Conditions
In Notification Services 2.0, an application developer defined the complete Transact-SQL action for generating notifications, and subscribers could only provide parameters for the action. In SQL Server 2005, Notification Services supports a new type of action, called condition actions, which allow subscribers to define their own query clauses over a predefined data set.
Using condition actions allows subscribers to fully define their own subscriptions over the data set; however it also reduces the efficiency of generating notifications, because there are often many more conditions to evaluate.
For more information, see Defining Condition Actions.
Database Independence
SQL Server Notification Services supports using existing databases for instance and application data. When you configure a Notification Services instance or define a Notification Services application, you can specify the name of an existing database or the name for a new database. Lastly, you can omit a name to use the Notification Services default database names.
For more information, see Defining the Instance Database and Defining the Application Database.
New Management API
SQL Server Notification Services has a new management API, Microsoft.SqlServer.Management.Nmo. You can use this API to develop Notification Services instances and applications and to manage those instances and applications.
Hostable Execution Engine
The Notification Services engine runs hosted event providers, generators, and distributors. In Notification Services 2.0, the NS$instanceName Windows Service, which you can install when registering the instance, ran the Notification Services engine. You can now host the Notification Services engine in your own custom application or process. For more information, see Hosting the Notification Services Engine.
Analysis Services Event Provider
Notification Services has added a new standard event provider to gather event data from Analysis Services databases using MDX queries. For more information, see Analysis Services Event Provider.
New Views
Notification Services has added or modified the following views to simplify application development and troubleshooting:
-
Notification Services creates one view for each event class defined in an application. This view has the same name as the event class. When you write event-driven (not scheduled) notification generation queries, you typically select events from this view. Now you also can insert event data into this view. For more information, see <EventClassName> View.
-
Notification Services creates one view for each notification class. You can use this view to review notifications generated by your application. For more information, see <NotificationClassName> View.
-
Notification Services provides three views for viewing and managing subscriber and subscription data:
-
NSSubscriberView lists all of the subscribers for an instance of Notification Services. You can use this view to manage subscriber data. For more information, see NSSubscriberView.
-
NSSubscriberDeviceView lists all of the subscriber devices for an instance of Notification Services. You can use this view to manage subscriber device data. For more information, see NSSubscriberDeviceView.
-
NS
SubscriptionClassName
View lists all of the subscriptions for a subscription class. You can use this view to manage basic event-driven subscriptions, but not scheduled or condition-based subscriptions. For more information, see NS<SubscriptionClassName>View.