RegisteredServers.AddServer Method (String, String)
Note: This API is now obsolete.
(Obsolete) Using this method will cause an error.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
<ObsoleteAttribute("Not supported", True)> _
Public Shared Sub AddServer ( _
serverFriendlyName As String, _
serverUrl As String _
)
[ObsoleteAttribute("Not supported", true)]
public static void AddServer(
string serverFriendlyName,
string serverUrl
)
[ObsoleteAttribute(L"Not supported", true)]
public:
static void AddServer(
String^ serverFriendlyName,
String^ serverUrl
)
[<ObsoleteAttribute("Not supported", true)>]
static member AddServer :
serverFriendlyName:string *
serverUrl:string -> unit
public static function AddServer(
serverFriendlyName : String,
serverUrl : String
)
Parameters
- serverFriendlyName
Type: System.String
serverUrl
Type: System.StringNot used.
.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.