
297
Chapter 9
CHAPTER NINE
Server Explorer Hacks
Hacks 73–76
The Server Explorer is a very useful part of Visual Studio, yet it continues to
be one of the more underused and underappreciated parts of the develop-
ment environment. Using the Server Explorer, you can interface with data-
bases, event logs, services, performance counters, and more.
The Server Explorer can interface with your local system as well as with
remote servers and databases. To connect to a remote machine, all you need
to do is click the Add Server button on the top of the Server Explorer and
then enter the name or IP address of the remote server. To connect to
another server or database, you must be a recognized user on that remote
server or database. The type of user you are on that machine, or the local
machine for that matter, will dictate what operations you are allowed to per-
form through the Server Explorer.
One of the best uses of the Server Explorer is being able to view a list of all
the services on your local machine or any remote servers you are attached to.
From the list of services, you can start or stop any services that you would
normally have permission to start or stop. This is just the beginning of what
can be done with the Server Explorer.
The hacks in this chapter teach you how to interface with performance
counters and how to manage your database through the Server Explorer.
This chapter will also look at ...