Share via


Deleting 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.

To delete a database reference

  1. 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.

  2. 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

Adding a Database Reference to a Database Project | Setting a Default Database Reference for a Database Project | Managing Data with Database Projects