ListProjects Method
The document is archived and information here might be outdated

ICommonStructureService.ListProjects Method

Returns the list of project URIs

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)

ProjectInfo[] ListProjects()

Return Value

Type: Microsoft.TeamFoundation.Server.ProjectInfo[]
An array of ProjectInfo objects containing project URIs

Show:
© 2016 Microsoft