VersionControlServer::GetTeamProjectForServerPath Method
Visual Studio 2012
Gets the TeamProject for the specified server path.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Parameters
- serverPath
- Type: 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.