Repository.Project.GetAllProjects

Gets an array of NameIDPair objects that represent the name and ID pairs of the projects associated with the Repository object.

Syntax
.Project.GetAllProjects

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