Can I connect 2 PC with 1 monitor (Nec multisync ea192m)?

Im using Nec multisync ea192m monitor that uses VGA connection on my PC and I want to add another one PC using the DVI-D connector but Ill also connec

Im using Nec multisync ea192m monitor that uses VGA connection on my PC and I want to add another one PC using the DVI-D connector but I'll also connect it to a VGA. Would it work and can switch the display?

or:Im using Nec multisync ea192m monitor that uses VGA connection on my PC and I want to add another one PC using the DVI-D connector but I'll also connect it to a VGA. Would it work and can switch the display?

Tags:connector,pc,