Cannot remove the host because it’s part of VDS dvSwitch

Remove host from cluster error “Cannot remove the host because it’s part of VDS dvSwitch” I reveived an error while trying to remove a host from a cluster. Cannot remove the host [hostname] because it’s part of VDS [dvSwitch name]