VMWARE VSphere VIX clone function

拥有回忆 提交于 2019-12-11 12:38:07

问题


I have problem with cloning a virtual machine using VMware VIX api in C#. I am using following code to do so and getting following error.

Code:

VMWareVirtualHost virtualhost = new VMWareVirtualHost();

virtualhost.ConnectToVMWareVIServer("ip", "username", "password");

VMWareVirtualMachine vm = virtualhost.Open("Machine path");

Console.WriteLine("vm is open");

vm.Clone(VMWareVirtualMachineCloneType.Full, "CLone path");

I am getting this error:

operation is not supported.

来源:https://stackoverflow.com/questions/26232652/vmware-vsphere-vix-clone-function

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!