Repository.Project.GetAllProjects

Gets a list of all existing projects in the current repository. Returns a NameIDPair object array that contains the project names and ID numbers.

Syntax
object.Project.GetAllProjects

where object is a variable that represents a Repository object.

Example
VBA|VB.NET MyRepository Repository ListofProjects NameIDPair ListOfProjects = MyRepository.Project.GetAllProjects ProjectName String ProjectID Integer ProjectName = ListofProjects(0).Name ProjectID = ListofProjects(0).ID MsgBox ( & ProjectName &  & ProjectID)