I want to delete a Snapshot via the Java API (version 5.1.26) but when I try so, it tells me this:
VirtualBox error: rc=0x80004001 Method Machine::deleteSnapshot is not implemented
my code:
Code: Select all
ISession session = mgr.getSessionObject();
IMachine vm = mgr.getVBox().findMachine(VM_UUID);
IProgress progress = vm.deleteSnapshot(SNAPSHOT_UUID); // <- Error line
progress.waitForCompletion(20000);
So is the method not implemented yet? And if this is the case, is there no way to delete a Snapshot via the Java API?