Invoke necessary operation before deleting vApp.
Register the vApp name instead of its href.
Use Director method to remove vApps.