Replaced deprecated RetrieveProperties method

Replaced RetrieveProperties (deprecated) with RetrievePropertiesEx.
http://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc%2Fvmodl.query.PropertyCollector.html