I am using ESRI.ArcGIS.DataManagementTools.Append and ESRI.ArcGIS.DataManagementTools.DeleteFeatures in .NET to manage feature classes in a File Geodatabase.
I am deleting features from the File Geodatabase than appending new ones from an ArcSDE Feature Class.
If the schemas do not match, I would like to stop the program before Delete Features. The Append tool has some way to check the schemas and I would like to duplicate this in code before deleting any features. If the append Tool can't append, I would like to not delete any features.
Any suggestions on how to check the schemas of the input and output Feature Classes to determine if they match according the criteria of the Append Tool?
Thanks,
Mele