AnsweredAssumed Answered

How to remove a feature class from GeoDB

Question asked by jack@freotech on Jul 8, 2017
Latest reply on Jul 9, 2017 by jack@freotech

I'm adding a feature class to file geodb using :

 

 GPExecuteToolFlags flags = GPExecuteToolFlags.None; 

 

 IGPResult result = await Geoprocessing.ExecuteToolAsync("CreateFeatureclass_management", Geoprocessing.MakeValueArray(arguments.ToArray()),null,null,null, flags);     

 

Q1) : It still seems to also add to the current map - what flag do i need to set to prevent that ?

Q2 ) How can i remove that feature class programmatically from the the geodb ? i cannot find any mention of something like Delete/RemoveFeatureclass_management

 

Thanks.

Outcomes