Repository.XFRACAS.ProcessXfracasImports: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Template:API}}{{Template:APIBreadcrumb|10|.[[Repository Class|Repository]]}}
{{DISPLAYTITLE:Repository.XFRACAS.ProcessXfracasImports Method}}{{Template:API}}{{Template:APIBreadcrumb|10|.[[Repository Class|Repository]]}}




Line 18: Line 18:
  {{APIComment|'Import an XML file into XFRACAS entity ID# 10.}}
  {{APIComment|'Import an XML file into XFRACAS entity ID# 10.}}
   {{APIPrefix|Dim}} ImportXMLSystemID {{APIPrefix|As Integer}}
   {{APIPrefix|Dim}} ImportXMLSystemID {{APIPrefix|As Integer}}
   ImportXMLSystemID = MyRepository.XFRACAS.ImportXFRACASXMLFile(10, XFRACASImportType.Incident, {{APIString|"C:\XMLData.xml"}}, {{APIString|"XMLFileDescription"}})
   ImportXMLSystemID = MyRepository.XFRACAS.ImportXfracasXmlFile(10, XFRACASImportType.Incident, {{APIString|"C:\XMLData.xml"}}, {{APIString|"XMLFileDescription"}})
    
    
  {{APIComment|'Process the imported file.}}
  {{APIComment|'Process the imported file.}}
   MyRepository.XFRACAS.ProcessXfracasImports()
   MyRepository.XFRACAS.ProcessXfracasImports()

Revision as of 18:35, 27 October 2015

APIWiki.png


Member of: SynthesisAPI10.Repository


Immediately processes imported XML files.

Syntax

.XFRACAS.ProcessXfracasImports()


Example

VB.NET

 'Add code to connect to the Synthesis 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()