code: public Task removeAllSnapshots_Task(Boolean consolidate) throws SnapshotFault, TaskInProgress, InvalidState, RuntimeFault, RemoteException {
          ManagedObjectReference mor = getVimService().removeAllSnapshots_Task(getMOR(), consolidate);
          return new Task(getServerConnection(), mor);
      }
docs: SDK5.0 signature