How to: Delete a Database Reference from a Database Project
You can delete a database reference from your database project. Deleting a database reference removes the connection information that is saved as part of your project. You can add another reference to a database project at any time.
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 delete a database reference
In Solution Explorer, expand the Database References folder, right-click the reference that you want to remove, and choose Delete on the shortcut menu.
If you attempt to delete the default database reference, a dialog box appears, asking if you are sure you want to remove the database reference. This dialog box does not appear if you delete a reference that is not the default database reference.
Click Yes to delete the reference, or click No and the reference will remain in your project.
The database reference is removed from your project.
See Also
Concepts
Database Connections and Database References