Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

Using SDK in c#, trying to revert, but not finding RevertSnapshot(), only RevertToCurrentSnapshot()?

$
0
0

Hi, doing a tool to help managing the systems and need to revert them once a while.

We are currently using PowerCLI scripts but I want to bring it to the next level using a UI to display a bit more detail and remove some "potential error prone" typing by adding simple clicking.

 

The UI would be complete, just need to hook the revert function.

I am using Visual Studio Community 2017, had PowerCLI 5.8 install and used that vmware.vim.dll.

I then install PowerCLi 6.5 and updated VS references.

Found a couple of example here and there using [...].revertSnapshot() and looked pretty straight forward.

But the only revert related function that I have in my option is [...]RevertToCurrentSnapshot() {There is also a _Task() but that "the next question"}

 

So it feel like I either don't have the right reference or not calling the right thing...

 

Thanks in advance,

Alex


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>