This documentation is archived and is not being maintained.
VersionControlServer.GetTeamProject Method
Visual Studio 2010
Gets the TeamProject in the repository with the specified name.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Parameters
- name
- Type: System.String
The name of the TeamProject to get.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.TeamProjectThe TeamProject with the specified name.
Exception | Condition |
---|---|
VersionControlException | Thrown if the specified path does 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: