Repository.XFRACAS.GetAllXFRACASEntities: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
<onlyinclude> | <onlyinclude>Returns an array of '''[[NameIdPair Class|NameIDPair]]''' objects that represent the name and ID pairs of the XFRACAS entities in the database.</onlyinclude> | ||
== Syntax == | == Syntax == |
Revision as of 17:56, 17 June 2016
Member of: SynthesisAPI.Repository
Returns an array of NameIDPair objects that represent the name and ID pairs of the XFRACAS entities in the database.
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)