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 a project.

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)