Repository.XFRACAS.GetAllXFRACASEntities: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:




<onlyinclude>Gets a list of XFRACAS entities connected to a Synthesis repository. Returns a '''[[NameIdPair Class|NameIDPair]]''' object array that contains all the entities connected to that repository.</onlyinclude>
<onlyinclude>Gets a list of XFRACAS entities connected to the Synthesis enterprise repository. Returns a '''[[NameIdPair Class|NameIDPair]]''' object array that contains all the entities connected to that repository.</onlyinclude>


== Syntax ==
== Syntax ==
Line 11: Line 11:
  '''VBA|VB.NET'''
  '''VBA|VB.NET'''
   
   
  {{APIComment|'Add code to connect to a Synthesis repository.}}
  {{APIComment|'Add code to connect to the Synthesis enterprise repository.}}
   {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
   {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
   {{APIComment|...}}
   {{APIComment|...}}

Revision as of 15:12, 5 November 2015

APIWiki.png


Member of: SynthesisAPI9.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)