Repository.Project.SetCurrentProject

Syntax

 * SetCurrentProject( ProjectID )

Parameters
 * ProjectID: Set the current project to this ID.

Usage Example
Private WithEvents MyRepository As New Repository

Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")

Dim IDChangeSuccess As Boolean = False If MyRepository.SetCurrentProject(1) Then IDChangeSuccess = True End If