Repository.XFRACAS.ProcessXfracasImports

Immediately processes imported files.

For information on the business logic of XFRACAS XML Import click here: XFRACAS XML Import Documentation

Syntax

 * ProcessXfracasImports

Usage Example
' ' Success  = Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") ' ListOfXFRACASEntities ListOfXFRACASEntities = MyRepository.GetAllXFRACASEntities ' ImportXMLSystemID ImportXMLSystemID = MyRepository.ImportXFRACASXMLFile(ListOfXFRACASEntities(0).ID,  XFRACASImportType.Incident, "XMLFileName", "XMLFileDescription") ' MyRepository.ProcessXfracasImports

Reformatted Usage Example
Private WithEvents MyRepository As New Repository

Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")

Dim ListOfXFRACASEntities As NameIdPair ListOfXFRACASEntities = MyRepository.GetAllXFRACASEntities

Dim ImportXMLSystemID As Integer ImportXMLSystemID = MyRepository.ImportXFRACASXMLFile(ListOfXFRACASEntities(0).ID, XFRACASImportType.Incident, "XMLFileName", "XMLFileDescription")

MyRepository.ProcessXfracasImports