public static void Main(string[] args) { TableauWorkbook workbook = new TableauWorkbook(); workbook.WorkbookName = "Base Workbook"; workbook.AddExcelTableDataSource("C:/path/to/excel/file.xlsx", "Table", "My new Datasource"); workbook.SaveWorkbook(); }
public WorkbookNameNotDefinedException(TableauWorkbook workbook, string message, Exception innerException) : base(message, innerException) { UnNamedWorkbook = workbook; }
protected WorkbookNameNotDefinedException(TableauWorkbook workbook) : base(String.Format("{0} does not have a workbook name defined", workbook)) { UnNamedWorkbook = workbook; }