查找指定名称的Datastore
public ManagedObjectReference getDatastore(String name) throws RuntimeFaultFaultMsg { String path="datacenter/datastore"; ManagedObjectReference folder = vimPort.findByInventoryPath(serviceContent.getSearchIndex(), path); ManagedObjectReference datastore=vimPort.findChild(serviceContent.getSearchIndex(), folder, name); return datastore; }