Export (0) Print
Expand All
Expand Minimize

VersionControlServer::GetTeamProjectForServerPath Method

Gets the TeamProject for the specified server path.

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

public:
TeamProject^ GetTeamProjectForServerPath(
	String^ serverPath
)

Parameters

serverPath
Type: System::String

The server path of the TeamProject to get.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client::TeamProject
The TeamProject with the specified path.

ExceptionCondition
VersionControlException

Thrown if the specified path does not resolve to a TeamProject.

Show:
© 2014 Microsoft