OK, got it. I should have thought of deleted vApps.
Yes it is possible to reload the objects in the vCO scripting. Please try the following:
var orgVdcs = org.getVdcs();
var allvAppNames = new Array();// For each datacenter, get all vApps withinfor each (vdc in orgVdcs){
vdc.updateInternalState();
var allvApps = vdc.getVApps(); for each (vApp in allvApps){ allvAppNames.push(vApp.name); }}
updateInternalState is causing the reload. you should not get null vApps anymore.
Christophe.