Share via


RegisteredServers.RemoveServer Method

Removes the server that is associated with the specified name from the registered list.

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

Syntax

'Declaration
Public Shared Sub RemoveServer ( _
    serverFriendlyName As String _
)
public static void RemoveServer(
    string serverFriendlyName
)
public:
static void RemoveServer(
    String^ serverFriendlyName
)
static member RemoveServer : 
        serverFriendlyName:string -> unit
public static function RemoveServer(
    serverFriendlyName : String
)

Parameters

Remarks

This method removes the registry entry only from HKEY_CURRENT_USERS.

.NET Framework Security

See Also

Reference

RegisteredServers Class

Microsoft.TeamFoundation.Client Namespace