The instance and applications we created in this chapter really don't do anything useful, but they were helpful in allowing us to examine the various parts of the system. You really won't need to work with this instance and its applications after this chapter, so you can use the following steps to remove them from your system. This cleans up the databases, Registry keys, and settings associated with the instances. Much like the instance creation steps, two of these operations are implemented as batch files that invoke nscontrol commands. These commands delete and unregister the instance. Deleting removes the database, and unregistering removes the Registry keys and performance counters and uninstalls the Windows service associated with the instance. I won't explain them in detail here, but it's worth taking a moment to look inside the batch files referenced in the following steps to see what they are doing. (They're fairly self-explanatory.) Note The equivalent operations are also available in Management Studio, via the context menus on the instances in the Notification Services folder in the Object Explorer. Because these are used in much the same way as the other Management Studio tools already covered, I have not provided a detailed explanation of them here.
|