VersionControlServer.GetAllTeamProjects Method

Gets the TeamProject objects in the repository.

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


Public Function GetAllTeamProjects ( _
    refresh As Boolean _
) As TeamProject()
public TeamProject[] GetAllTeamProjects(
    bool refresh
array<TeamProject^>^ GetAllTeamProjects(
    bool refresh
member GetAllTeamProjects : 
        refresh:bool -> TeamProject[] 
public function GetAllTeamProjects(
    refresh : boolean
) : TeamProject[]


  • refresh
    Type: System.Boolean

    True to refresh the team project cache by calling the server. False to return cached projects without a call to server.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.TeamProject[]
The TeamProject objects in the repository.

.NET Framework Security

See Also


VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace