Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- tfs
Type: Microsoft.TeamFoundation.Client.TeamFoundationServer
The TeamFoundationServer object to register.
Remarks
This method adds the registry entry to HKEY_CURRENT_USERS.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.