private void DeleteSmartObject(string smoName) { try { ManagementServerConnect(); SmartObjectExplorer checkSmartObjectExist = _smoManagementServer.GetSmartObjects(smoName); if (checkSmartObjectExist.SmartObjects.Count > 0) { _smoManagementServer.DeleteSmartObject(smoName, true); } } catch (Exception ex) { MessageBox.Show(ex.Message); } finally { ManagementServerCloseConnection(); } }
internal virtual void DeleteSmartObject(string systemName, bool ignoreDependancyException) { _smartObjectManagementServer.DeleteSmartObject(systemName, ignoreDependancyException); }