This documentation is archived and is not being maintained.

RegisteredServers::GetServerForUri Method (String)

Gets the name of the server that is associated with the specified URL.

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

public:
static String^ GetServerForUri(
	String^ url
)

Parameters

url
Type: System::String

The URL 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 URL.

Show: