Hi!
One of the users of my C# wrapper library for VixCOM (http://www.codeplex.com/VixCOMWrapper) noticed a problem in the current implementation: when querying the power-state of a VM using the GetProperties() function, the function returns POWERED_OFF (decimal 2) even for suspended VMs. The expected result would be SUSPENDED (decimal 32).
I verified that it's not related to my library or VixCOM by writing a simple C++ application using vix.dll, even here the returned value is 2 instead of 32 !
However, the interesting thing is, this only applies when I suspend the virtual machine via the VI Client or VI Web Access. If I'm suspending the VM via VIX, the GetProperties() function returns the correct value for the power state. When I disconnect and re-connect, it returns POWERED_OFF again.
Anybody else seeing this behavior?
Regards, Alex