This documentation is archived and is not being maintained.
VersionControlServer.TryGetTeamProjectForServerPath Method
Visual Studio 2013
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)
'Declaration Public Function TryGetTeamProjectForServerPath ( _ serverPath As String _ ) As TeamProject
Parameters
- serverPath
- Type: System.String
The server path of the team project to get.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.TeamProjectThe team project with the specified path. Null otherwise.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: