Repository.XFRACAS.ProcessXfracasImports: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 12: Line 12:
  '''VB.NET'''
  '''VB.NET'''
   
   
  {{APIComment|'Add code to connect to the 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 18:53, 9 November 2015

APIWiki.png


Member of: SynthesisAPI9.Repository


Immediately processes all XML files in the XFRACAS import queue.

Syntax

.XFRACAS.ProcessXfracasImports()


Example

VB.NET

 'Add code to connect to the Synthesis enterprise repository. 
  Dim MyRepository As New Repository
  ... 

 'Import an XML file into XFRACAS entity ID# 10. 
  Dim ImportXMLSystemID As Integer
  ImportXMLSystemID = MyRepository.XFRACAS.ImportXfracasXmlFile(10, XFRACASImportType.Incident, "C:\XMLData.xml", "XMLFileDescription")
 
 'Process the imported file. 
  MyRepository.XFRACAS.ProcessXfracasImports()