AnsweredAssumed Answered

Get Archive Table in ArcGIS Pro

Question asked by jvseagle-co-nz-esridist Employee on Jul 25, 2017
Latest reply on Jul 26, 2017 by jvseagle-co-nz-esridist



How do I get access to the archive table associated with a feature class using the ArcGIS Pro SDK?



In the past we could access directly the archive table using the code below:

IArchivableClass archivableClass = table as IArchivableClass;


where table is an ITable.


I have a batch script coded in ArcObjects to abstract us from the underlying gdb schema changes that require conversion to the new SDK.


// This is my ArcGIS Pro feature class object

FeatureClass featureClass = geodatabase.OpenDataset<FeatureClass>("SDE.DBO.MyFeatureClass"); 


How can I get the archive table associated with this feature class directly?