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
'Декларация
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
- serverFriendlyName
Type: System.String
The name of the server.
Remarks
This method removes the registry entry only from 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.