How to: Remove an Application from an Instance of Notification Services (SQL Server Management Studio)
To remove an application from an existing instance, you must modify the instance configuration and then update the instance. The following procedure shows what to modify and how to then perform the update by using Microsoft SQL Server Management Studio.
Note
The following procedure assumes you are configuring the instance of Notification Services using an instance configuration file (ICF) and application definition files (ADFs). If you are using Notification Services Management Objects (NMO), use methods of the Microsoft.SqlServer.Management.Nmo.Instance class to update the instance of Notification Services.
To remove an application
In the ICF, do the following:
- Remove the Application node that represents the application.
- Remove any application-specific custom protocols from the Protocols node.
- Remove any application-specific delivery channels from the DeliveryChannels node.
- Remove any application-specific default parameter values from the ParameterDefaults node.
Back up the instance and application databases. For more information, see Backing Up and Recovering Notification Services.
In SQL Server Management Studio Object Explorer, expand the Notification Services node.
Right-click the instance of Notification Services that runs the application and select Disable.
Right-click the instance, point to Tasks, and select Update.
In the Update Instance dialog box, click the Browse button and select the updated ICF.
Enter or update values as necessary for any parameters shown in the Parameters box.
Select the Enable instance after it is updated option to enable the instance at the end of the update process.
If the instance uses argument encryption, click Encryption in the left pane and then enter the encryption key.
Click OK to perform the update.
To update performance counters, reregister the instance of Notification Services:
- Right-click the instance and select Stop.
- Right-click the instance, point to Tasks, and select Register.
- Click OK.
- Right-click the instance and select Start.
After you have updated the instance, you may want to delete the application objects from the application database, or, if the application has its own database, drop the entire database.
See Also
Tasks
How to: Remove an Application from an Instance of Notification Services (Command Prompt)
Concepts
Removing an Application from an Instance
Other Resources
DROP DATABASE (Transact-SQL)
Updating Instances and Applications
Managing Instances and Applications How-to Topics (Notification Services)