At the top level of the Team Foundation Server folder hierarchy are the team projects: the folders immediately below $/ in the tree. All folders and files under source control are directly or indirectly below the team projects. This function gets a list of all the team projects on the server that is running Team Foundation Server.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
- Type: System.Boolean
If refresh is false, the team projects may be getd from a cache kept on the user's computer. If refresh is true, that cache will first be updated from the server that is running Team Foundation Server.
Return ValueType: Microsoft.TeamFoundation.VersionControl.Client.TeamProject
The returned TeamProject objects contain the names, check in and checkout policies, and note fields for each team project on the server.
- 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.