This documentation is archived and is not being maintained.

VersionControlServer.GetAllTeamProjects Method

Gets the team projects in that are in the database.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public TeamProject[] GetAllTeamProjects (
	bool refresh
public TeamProject[] GetAllTeamProjects (
	boolean refresh
public function GetAllTeamProjects (
	refresh : boolean
) : TeamProject[]



If true, update the team project cache by calling the server; otherwise, return all cached team projects.

Return Value

The team projects in the database.