Share via


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)

Syntax

'Declaration
Public Shared Sub AddServer ( _
    tfs As TeamFoundationServer _
)
public static void AddServer(
    TeamFoundationServer tfs
)
public:
static void AddServer(
    TeamFoundationServer^ tfs
)
static member AddServer : 
        tfs:TeamFoundationServer -> unit
public static function AddServer(
    tfs : TeamFoundationServer
)

Parameters

Remarks

This method adds the registry entry to HKEY_CURRENT_USERS.

.NET Framework Security

See Also

Reference

RegisteredServers Class

AddServer Overload

Microsoft.TeamFoundation.Client Namespace