Deleting a Snapshot

You can delete all snapshots by calling
VirtualMachine.RemoveAllSnapshots
or by calling the
VirtualMachineSnapshot.RemoveSnapshot_Task
method. The
VirtualMachineSnapshot
object was previously returned in the task returned by the
CreateSnapshot_Task
method.