コード例 #1
0
        private void Revert(SimReserved simulator)
        {
            Thread.CurrentThread.SetName(simulator.AssetId);

            UpdateItemStatus(simulator, "Reverting...");
            VMController.Revert(simulator.VirtualMachine);
            UpdateItemStatus(simulator, "Revert complete.");
        }
コード例 #2
0
 /// <summary>
 /// Reverts a VM to it's last snapshot.
 /// </summary>
 public void Revert(bool wait = false)
 {
     VMController.Revert(Name, wait);
 }