Is FeatureClass being written to?

458
2
09-08-2011 07:55 AM
MeleKoneya
Occasional Contributor III
I am using append from ESRI.ArcGIS.DataManagementTools namespace to update a feature class in SDE with features from another SDE Feature class.     The program works fine as long as there is not an edit operation ocurrning on the Feature Class being appended to.

I can tell if the workspace is being edited, but that is not the level that I need to know at.   I can also use ISchemaLock, but that does not help in this case as it is not a schema edit.

Is there a way via ArcObjects to determine if a Feature Class is being written to?

Thanks,

Mele
0 Kudos
2 Replies
DuncanHornby
MVP Notable Contributor
Mele,

I've never used it but have a go at using the Interface IDatasetEdit?

Duncan
0 Kudos
MeleKoneya
Occasional Contributor III
Duncan,

Thanks.    I had never heard of that interface.    I will give it a try.   It does sound promising.

Mele
0 Kudos