Repository.Project.GetAllProjects

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

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)