Repository.XFRACAS.ProcessXfracasImports: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) m (Protected "Repository.ProcessXfracasImports" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]) |
Kate Racaza (talk | contribs) mNo edit summary |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Template: | {{DISPLAYTITLE:Repository.XFRACAS.ProcessXfracasImports Method}}{{Template:API}}{{Template:APIBreadcrumb|.[[Repository Class|Repository]]}} | ||
<onlyinclude>Immediately processes all XML files in the XFRACAS import queue.</onlyinclude> | |||
== | == Syntax == | ||
'''.XFRACAS.ProcessXfracasImports()''' | |||
== Example == | |||
'''VB.NET''' | |||
{{APIComment| | |||
{{APIComment|'Connect to a Synthesis enterprise repository.}} | |||
{{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository | |||
{{ | MyRepository.ConnectToSQLRepository({{APIString|"MyServer"}}, {{APIString|"MyDatabase"}}) | ||
{{APIComment|'Import an XML file into XFRACAS entity ID# 10.}} | |||
{{APIPrefix|Dim}} ImportXMLSystemID {{APIPrefix|As Integer}} | |||
{{ | ImportXMLSystemID = MyRepository.XFRACAS.ImportXfracasXmlFile(10, XFRACASImportType.Incident, {{APIString|"C:\XMLData.xml"}}, {{APIString|"XMLFileDescription"}}) | ||
{{APIComment|'Process the imported file.}} | |||
MyRepository.XFRACAS.ProcessXfracasImports() | |||
{{APIComment|Import | |||
{{APIComment|Process the imported file.}} | |||
Latest revision as of 16:44, 10 March 2016
Member of: SynthesisAPI.Repository
Immediately processes all XML files in the XFRACAS import queue.
Syntax
.XFRACAS.ProcessXfracasImports()
Example
VB.NET 'Connect to a Synthesis enterprise repository. Dim MyRepository As New Repository MyRepository.ConnectToSQLRepository("MyServer", "MyDatabase") '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()