Difference between revisions of "Repository.XFRACAS.GetAllXFRACASEntities"

From ReliaWiki
Jump to navigation Jump to search
m
Line 2: Line 2:
  
  
<onlyinclude>Gets a list of XFRACAS entities associated with a [[Repository_Class|Repository]] object. Returns a '''[[NameIdPair Class|NameIDPair]]''' object that represents the name and ID pair of the XFRACAS entities.</onlyinclude>
+
<onlyinclude>Gets a list of XFRACAS entities associated with a Repository object. Returns a '''[[NameIdPair Class|NameIDPair]]''' object that represents the name and ID pair of the XFRACAS entities.</onlyinclude>
  
 
== Syntax ==
 
== Syntax ==

Revision as of 15:25, 8 April 2016

APIWiki.png


Member of: SynthesisAPI.Repository


Gets a list of XFRACAS entities associated with a Repository object. Returns a NameIDPair object that represents the name and ID pair of the XFRACAS entities.

Syntax

.XFRACAS.GetAllXfracasEntities()


Example

VB.NET

 'Connect to a Synthesis enterprise repository. 
  Dim MyRepository As New Repository
  MyRepository.ConnectToSQLRepository("MyServer", "MyDatabase")
 
 '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)