You'll need to use VIX_SERVICEPROVIDER_VMWARE_VI_SERVER Here is my implementation of connect: Dim m_host As String = "https://172.16.4.242:8333/sdk" '"https://172.16.2.2:8333/sdk" ' need ...
See more...
You'll need to use VIX_SERVICEPROVIDER_VMWARE_VI_SERVER Here is my implementation of connect: Dim m_host As String = "https://172.16.4.242:8333/sdk" '"https://172.16.2.2:8333/sdk" ' need to specify ip NOT DNS Dim m_port As Integer = 0 'value does not matter when connecting to VMWARE server 2.0 Dim m_user As String = "user" 'must pass user/pass explicitly; current user does not work Dim m_pass As String = "pass" m_hostJob = m_lib.Connect(VixCOM.Constants.VIX_API_VERSION, VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_VI_SERVER, m_host, m_port, m_user, m_pass, 0, Nothing, Nothing)