RemoveSnapshot implementaion.

Developer
Dec 16, 2010 at 5:27 PM

The RemoveSnapshot method in the VMWareSnapshot class call the Vix RemoveSnapshot function with the flag options = 0, which means it will only delete the named snapshot and keep all of its child snapshots.

If the options flag is set to VIX_SNAPSHOT_REMOVE_CHILDREN, the operation would delete all child snapshots as well, which is potentially useful if you want to delete the whole snapshot branch. So shall we add a work item to implement this? :)

Coordinator
Dec 16, 2010 at 5:47 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Dec 16, 2010 at 5:47 PM

Done. Best to add an extended RemoveSnapshots function that takes flags (didn't check if it already exists).