This documentation is archived and is not being maintained.

IVsTeamExplorer::SetCurrentServerAndProject Method

Sets the specified server and project as the currently active server and project.

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

void SetCurrentServerAndProject(
	String^ serverUrl, 
	String^ projectName, 
	String^ projectUri
)

Parameters

serverUrl
Type: System::String

The URL of the server.

projectName
Type: System::String

The project name.

projectUri
Type: System::String

The project URI.

Show: