Repository.XFRACAS.ImportXFRACASXMLString

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

Parameters
entityID

ImportType

xmlString

fileTitle

fileDescription

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

Reformatted Usage Example
Private WithEvents MyRepository As New Repository

Dim Success As Boolean = False Success = MyRepository.ConnectToSQLRepository("SQLServerPath", "SQLDatabaseName")

Dim DesiredEntityID As Integer DesiredEntityID = '

Dim xmlString As String = Nothing 'populate the xmlString with the XML text

Dim ImportXMLSystemID As Integer ImportXMLSystemID = MyRepository.ImportXFRACASXMLString(DesiredEntityID, XFRACASImportType.Incident, xmlString, "XMLFileTitle", "XMLFileDescription")