How to: Add New Servers in Server Explorer
Server Explorer displays links to servers beneath the Servers node. After a server connection is established, you can design programs to open the connection, browse the server, and retrieve and manipulate the data available.
Note
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.
To add a link to a server in Server Explorer
Select Connect to Server on the Tools menu, or click the Connect to Server icon in Server Explorer.
The Add Server dialog box opens. For more information, see Add Server Dialog Box.
In the Computer text box, enter the name or IP address of the server.
To remove a link to a server from Server Explorer
In Server Explorer, expand the Servers node.
Right-click the server that is no longer needed.
Select Delete from the shortcut menu.
There is no effect on the actual server. You are removing the link from your view.
To reconnect to a remote server as a different user
Delete any existing connections to the remote computer as the desired user.
You cannot create multiple connections to a remote server as the same user of that computer. This includes NET USE connections.
Select Connect to Server from the Tools menu, or click the Connect to Server icon on the toolbar.
The Add Server dialog box opens.
In the Computer box, enter the name or IP address of the server.
Select Connect using a different user name.
The Connect As dialog box opens.
Enter a new user name and password.
In the Computer box, enter the name or IP address of the server.
To reconnect to a server on your local computer as a different user
Quit Visual Studio and all other programs currently running on your computer.
You must connect to a server located on your own computer as the current user of that computer.
On the Windows Start menu, select Shut Down.
The Shut Down Windows dialog box appears.
Choose Log Off.
The Log In dialog box appears.
Enter a new user name and password.
Open Visual Studio, and select Connect to Server on the Tools menu or click the Connect to Server icon on the toolbar.
The Add Server dialog box opens.
In the Computer box, enter the name of the desired server on your computer.
See Also
Tasks
How to: Add New Data Connections in Server Explorer/Database Explorer
How to: Add Items from Server Explorer
How to: Add a Database Reference to a Database Project
Concepts
Database Connections and Database References
Creating Data Applications by Using Visual Studio
Recommendations for Data Access Strategies
Reference
Data Connections in Server Explorer/Database Explorer