func (h *Host) Disconnect() {
	// TODO(c4milo): Return an error to the user given that this error
	// may be thrown due to insufficient hardware resources
	if h.handle == C.VIX_E_CANCELLED {
		return
	}

	if &h.handle != nil &&
		h.handle != C.VIX_INVALID_HANDLE {

		C.VixHost_Disconnect(h.handle)
		h.handle = C.VIX_INVALID_HANDLE
	}
}
func (h *Host) Disconnect() {
	// TODO(c4milo): Return an error to the user given that this error
	// may be thrown due to insufficient hardware resources
	if h.handle == C.VIX_E_CANCELLED {
		return
	}

	if &h.handle != nil &&
		h.handle != C.VIX_INVALID_HANDLE {

		C.VixHost_Disconnect(h.handle)
		h.handle = C.VIX_INVALID_HANDLE
	}
}
// Disconnect destroys the state for a particular host instance.
//
// Call this function to disconnect the host. After you call this function the
// Host object is no longer valid and you should not longer use it.
// Similarly, you should not use any other object instances obtained from the
// Host object while it was connected.
//
// Since VMware Server 1.0