Repository.Project.GetAllProjects: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:APIBreadcrumb|10|Repository}}
{{Template:APIBreadcrumb|10|Repository}}
{{Template:API}}
{{Template:API}}
Returns a '''[[NameIdPair Class|NameIDPair]]''' object array that contains the names and ID numbers of all existing projects in the current repository.
Gets a list of all existing projects in the current repository. Returns a '''[[NameIdPair Class|NameIDPair]]''' object array that contains the project names and ID numbers.


== Syntax ==
== Syntax ==

Revision as of 22:08, 13 July 2015

Member of: SynthesisAPI10Repository

APIWiki.png


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
Dim MyRepository As New Repository ...'Add code to connect to a Synthesis repository.
Dim ListofProjects() As NameIDPair ListOfProjects = MyRepository.Project.GetAllProjects()