This documentation is archived and is not being maintained.

RegisteredServers::AddServer Method (TeamFoundationServer)

Adds the specified server to the registered servers list.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public:
static void AddServer(
	TeamFoundationServer^ tfs
)

Parameters

tfs
Type: Microsoft.TeamFoundation.Client::TeamFoundationServer

The TeamFoundationServer object to register.

This method adds the registry entry to HKEY_CURRENT_USERS.

Show: