Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 function GetTeamProjectForServerPath(
	serverPath : String
) : TeamProject

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:
© 2015 Microsoft