The new interface Workbook.ImportData(string fileName, string sourceName) overwrites the previous ImportData(string fileName, string worksheetName).
- When source is mentioned directly in the form of worksheet name, the code remains compatible with the previous implementation.
- After version upgrade, if the method is called along with the parameter name "worksheetName: "xxxx"", the compilation fails and user needs to modify the parameter name to "sourceName".