AnsweredAssumed Answered

Arcobjects change table data source

Question asked by jon.morris on Mar 13, 2015
Latest reply on Sep 28, 2015 by jon.morris

I'm writing a C# addin to change all the data sources in an MXD from one SDE datasource to another. I can iterate through the layers and change feature layers and raster layers, but what about tables?


There is very little doc on this - it can be done in arcpy, but I could only find one old unanswered question for how to do it in arcobjects.


I've used the TableCollection to iterate through the tables in the map, but it's not clear how to update the source for each one. Any ideas?