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