Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: Can I get data from a derived object without getting all of them?

$
0
0

Generally, you can't use nested properties on an array path set.  You'll have to get the top level parent path 'config.hardware.device', then enumerate that.  If you're doing partialUpdates on RetrievePropertiesEx or WaitForUpdatesEx, you'll get the change as config.hardware.device[-key-].macAddress.

 

If you're doing full updates or on time retrieves, you'll have to get the 'config.hardware.device' array, enumerate it in your code and extract the macAddress form the VirtualEthernetCard device objects.


Viewing all articles
Browse latest Browse all 252940

Trending Articles



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