Expand Minimize

VersionControlServer.TryGetTeamProjectForServerPath Method

Gets the team project for the specified server path.

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

public TeamProject TryGetTeamProjectForServerPath(
	string serverPath
)

Parameters

serverPath
Type: System.String

The server path of the team project to get.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.TeamProject
The team project with the specified path. Null otherwise.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft