I trying to retrieve data from a standlone esxi host using c# and the vmware.vim.dll.
I am trying to do this using the Property Controller along with the TraversalSpec. The following code is what I have but when I run it I get the following:
"Additional information: A specified parameter was not correct: undefined TraversalSpec name" at the
ObjectContent objs =pCollector.RetrieveProperties(pFss);
Without the TraversalSpec section I can get the maxCollector value if I change the "ipAddress" to "maxCollector" but I'm trying to get the ipAddress that is within the latestEvent property.
This is just a test to see that it works. So far I cant get the TraversalSpec part to work.
Any help would be appreciated.
//fails at this point