Repository.Project.GetAllProjects

Gets a list of projects associated with a Repository object. Returns a NameIDPair object that represents the name and ID pair of the projects.

Syntax
.Project.GetAllProjects

Example
VBA|VB.NET MyRepository Repository ListofProjects NameIDPair ListOfProjects = MyRepository.Project.GetAllProjects NumberofElements Integer NumberofElements = UBound(ListofProjects) - LBound(ListofProjects) + 1 MsgBox (NumberofElements)