Repository.XFRACAS.GetAllXFRACASEntities

From ReliaWiki
Revision as of 22:33, 13 November 2015 by Kate Racaza (talk | contribs)
Jump to navigation Jump to search
APIWiki.png


Member of: SynthesisAPI.Repository


Gets a list of XFRACAS entities connected to the Synthesis enterprise repository. Returns a NameIDPair object array that contains all the entities connected to that repository.

Syntax

.XFRACAS.GetAllXfracasEntities()


Example

VBA|VB.NET

 'Add code to connect to the Synthesis enterprise repository. 
  Dim MyRepository As New Repository
  ... 

 
 'Get a list of all XFRACAS entities.  
 Dim ListofEntities() As NameIDPair
 ListOfEntities = MyRepository.XFRACAS.GetAllXfracasEntities()

 'Output sample: Display the number of elements in the array. 
 Dim NumberofElements As Integer
 NumberofElements = UBound(ListofEntities) - LBound(ListofEntities) + 1
 MsgBox (NumberofElements)