Hi
i am having this issue, when i delete vApp from my C# code, the program flow just moves ahead. i want it to wait until the deletion process is finished. how can i do that.
//Rizwan
When you call Destroy_Task, you'll notice the return value is a task object, this allows you monitor the progress of the operation and you can block before proceed in your code. Pretty much any of the methods with *_Task() will return back a task object.
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
When you call Destroy_Task, you'll notice the return value is a task object, this allows you monitor the progress of the operation and you can block before proceed in your code. Pretty much any of the methods with *_Task() will return back a task object.
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".