RegisteredServers.GetUriForServer Method
Gets the uniform resource identifier (URI) of the server that has the specified name.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Shared Function GetUriForServer ( _
serverName As String _
) As Uri
public static Uri GetUriForServer(
string serverName
)
public:
static Uri^ GetUriForServer(
String^ serverName
)
static member GetUriForServer :
serverName:string -> Uri
public static function GetUriForServer(
serverName : String
) : Uri
Parameters
serverName
Type: System.StringThe name of the server for which the URI is desired.
Return Value
Type: System.Uri
The URI of the server that has the specified name.
.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.