VersionControlServer.GetTeamProject Method
Gets the TeamProject in the repository with the specified name.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaração
Public Function GetTeamProject ( _
name As String _
) As TeamProject
public TeamProject GetTeamProject(
string name
)
public:
TeamProject^ GetTeamProject(
String^ name
)
member GetTeamProject :
name:string -> TeamProject
public function GetTeamProject(
name : String
) : TeamProject
Parameters
- name
Type: System.String
The name of the TeamProject to get.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.TeamProject
The TeamProject with the specified name.
Exceptions
Exception | Condition |
---|---|
VersionControlException | Thrown if the specified path does resolve to a TeamProject. |
.NET Framework Security
- 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.