This documentation is archived and is not being maintained.
VersionControlServer.GetTeamProjectForServerPath Method
Visual Studio 2013
Gets the TeamProject for the specified server path.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
'Declaration Public Function GetTeamProjectForServerPath ( _ serverPath As String _ ) As TeamProject
Parameters
- serverPath
- Type: System.String
The server path of the TeamProject to get.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.TeamProjectThe TeamProject with the specified path.
| Exception | Condition |
|---|---|
| VersionControlException | Thrown if the specified path does not resolve to a TeamProject. |
- 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: