This documentation is archived and is not being maintained.

RegisteredServers::GetServerForUri Method (Uri)

Gets the name of the server that has the specified URI.

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

public:
static String^ GetServerForUri(
	Uri^ uri
)

Parameters

uri
Type: System::Uri

The URI of the server of which the name is desired.

Return Value

Type: System::String
The name of the server that is associated with the specified URI.

Show: