Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.83 KB

how-to-add-or-remove-sharepoint-connections.md

File metadata and controls

42 lines (31 loc) · 1.83 KB
title description ms.date ms.topic dev_langs helpviewer_keywords author ms.author manager ms.subservice
Add or Remove SharePoint Connections
Add or remove SharePoint connections by using the SharePoint Connections node in the Server Explorer window of Visual Studio.
02/02/2017
how-to
VB
CSharp
SharePoint development in Visual Studio, browsing SharePoint sites
SharePoint development in Visual Studio, SharePoint Connections
SharePoint Connections [SharePoint development in Visual Studio]
John-Hart
johnhart
mijacobs
sharepoint-development

Add or remove SharePoint connections

Server Explorer lets you browse SharePoint sites as well as data connections. However, before you can browse the contents of a SharePoint site you must add it to the SharePoint Connections node.

To add a SharePoint site to the SharePoint connections node

  1. On the menu bar, choose View, Server Explorer.

  2. In Server Explorer, choose the SharePoint Connections node, and then, on the menu bar, choose Tools > Add SharePoint Connection.

  3. In the Add SharePoint Connection box, enter the URL for the SharePoint site (for example, http://testserver/sites/unittests).

To delete a SharePoint site from the SharePoint connections node

  1. On the menu bar, choose View, Server Explorer to open Server Explorer.

  2. Expand the SharePoint Connections node to reveal the SharePoint site that you want to delete from Server Explorer.

  3. Choose the site, and then, on the menu bar, choose Edit > Delete.

    [!NOTE] This step doesn't delete the underlying site; it deletes only the connection from Server Explorer.

See also