public XmlImport ( String xmlFileName, List |
||
xmlFileName | String | The file name (with path) of an XML file that defines one or more time series to import |
tsImportList | List |
A List of TSImport objects that the method adds to. One item is added to the List /// for each time series that is processed in the XML file. The List must already be instantiated before calling /// this method. The method does not change any items that are already in the List. |
return | int |
public int XmlImport(String xmlFileName, List<TSImport> tsImportList)
{
// Construct new TSXml object without SqlConnection object and table name
TSXml tsXml = new TSXml();
// Method in the TSXml object does all the work
return tsXml.ReadAndStore(xmlFileName, null, tsImportList, false, true);
}