Repository.XFRACAS.GetAllXFRACASEntities
Jump to navigation
Jump to search
Member of: SynthesisAPI.Repository
Gets an array of NameIDPair objects that represents the name and ID pair 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)