Method joinDomainWithCAM_Task(String domainName, String camServer)

Adds the host to an Active Directory domain through CAM service.

If the VcHostAuthenticationStoreInfo.VcHostAuthenticationStoreInfo property is True (accessed through the info property), the host has joined a domain. The vSphere API will throw the InvalidState fault if you try to add a host to a domain when the host has already joined a domain.




Name Type Description
domainName String Name of the domain to be joined.
camServer String Name of server providing the CAM service.