code: public Task checkAddHostEvc_Task(HostConnectSpec hostConnectSpec) throws GatewayConnectFault, HostConnectFault, InvalidLogin, RuntimeFault, RemoteException {
          ManagedObjectReference task = getVimService().checkAddHostEvc_Task(getMOR(), hostConnectSpec);
          return new Task(getServerConnection(), task);
      }
docs: Test the validity of adding a host into the managed cluster.
  Note that this method only tests EVC admission control; host-add may fail for other reasons.
  
  @param hostConnectSpec The spec that will be used to add the host.
  @return Task with which to monitor the operation.
  @throws GatewayConnectFault Thrown if the host is managed via gateway and attempts to connect to the host have failed. A more specific subclass may be thrown.
  @throws HostConnectFault    Thrown if an error occurred when attempting to connect to the host. Typically, a more specific subclass is thrown.
  @throws InvalidLogin        Thrown if authentication with the host fails.
  @throws RuntimeFault        Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
  @throws RemoteException
  @see com.vmware.vim25.HostConnectSpec