AnsweredAssumed Answered

Deleting feature class problem

Question asked by kyanuk1 on Nov 7, 2012
Latest reply on Nov 7, 2012 by kyanuk1

I am trying to delete a feature class from an SDE database, but I seem to be running into some issues.

If I try to delete it manually through ArcCatalog, I don't get issue, however if I try to delete it using the following:

IFeatureClass bufferFC = _fws.OpenFeatureClass("FEATURE_CLASS"); IDataset ds = (IDataset)bufferFC; ds.Delete();

I get a lock error.

Is there a way to remove the lock from the feature class, so I can remove it?

I've looked into using:

but I am not quite sure how to implement it.

Thank you