Partager via


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)

Syntax

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

Parameters

  • 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

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace