删除一个lifeCycle

There are four steps

1) identify whther any sysobjects are attached to the lifecycle
select * from dm_sysobject(all) where r_policy_id = '460186d080230dc5'

2) if any results from above query, you need to delete that sysobject, or assign any other lifecycle to it. make sure the above the query should return 0 rows

3) Uninstall the lifecycle
API> uninstall,c,460186d080230dc5

4) now try to delete the lifycle
DQL> delete dm_policy object where r_object_id = '460186d080230dc5'

你可能感兴趣的:(C++,c,C#)