VersionControlServer.TryGetTeamProject Method

Gets the team project in the repository with the specified name.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Function TryGetTeamProject ( _
    name As String _
) As TeamProject
public TeamProject TryGetTeamProject(
    string name
)
public:
TeamProject^ TryGetTeamProject(
    String^ name
)
member TryGetTeamProject : 
        name:string -> TeamProject
public function TryGetTeamProject(
    name : String
) : TeamProject

Parameters

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.TeamProject
The team project with the specified name. Null if a project was not found.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace