This article will list out all the steps required to connect with source control Microsoft Team Foundation Server(TFS). In this example I am using Visual Studio 2015 and Team Foundation Server 2015. Same steps can be followed for other version of Visual studio and TFS.
Note: Before connecting with TFS you should know the address (url) of TFS with which connection is to be established.
Steps to Connect with TFS (Team Foundation Server) using Visual Studio IDE:
Step 1: Open Visual Studio and then click on Menu Team, then select option Manage Connections as shown in below screenshot:
Step 2: Now in Team Explorer select option Connect to Team Project as shown below:
Step 3: In Connect to Team Foundation Server window click on option Servers as shown below:
Step 4: Now in Add/Remove Team Foundation Server window click on option Add as shown below:
Step 5: In Add Team Foundation server window enter url or name of the TFS server, port number and then click on Ok button as shown in below screenshot:
Finally click on Connect button as shown below, so using these steps you can connect to Team Foundation Server from Visual Studio.