Repository.XFRACAS.ImportXFRACASXMLString

Uploads an import file bytestream for processing and returns the system ID

Syntax

 * ImportXFRACASXMLString( entityID, ImportType XFRACASImportType , xmlString , fileTitle , fileDescription )

Parameters
 * entityID: The ID of the entity to import into.


 * ImportType: The type of XFRACAS Import to utilize, specified as XFRACASImportType.


 * xmlString: The string consisting of the XML to import.


 * fileTitle: The file title of the XML file byte array to import.


 * fileDescription: A description of the XML to import.

Usage Example
'       '        Success= Success = MyRepository.ConnectToSQLRepository("SQLServerPath", "SQLDatabaseName") '        DesiredEntityID DesiredEntityID = ' '       xmlString= '        '        ImportXMLSystemID ImportXMLSystemID = MyRepository.XFRACAS.ImportXFRACASXMLString(DesiredEntityID, XFRACASImportType.Incident, xmlString, "XMLFileTitle", "XMLFileDescription")