title: c# vmware sdk : get list of all guest vm hosted on hostsystem?
body: <p>Say I got some vms (linuxtestguest, ubunuttestguest...) that are hosted on a virtual server named test. </p>
  
  <p>How do you get the list of all VMs hosted on "test" ?</p>
  
  <p>I can list all the hosts ("test" in my case) by following rootFolder (folder) -> childentity (datacenter) -> hostFolder(Folder) -> childentity (ComputerResource) -> host(HostSystem) </p>
  
  <p>I can list all available Vms by following rootFolder (folder) -> childentity (datacenter) -> vmFolder(Folder) -> childentity (VirtualMachine) </p>
  
  <p>But how do I link the two ? Being given an host how do i get all the vms attached to it ? (and if possible the other way around)</p>
  
  <p>This looks very basic to me (this is the first practical use of SDK I can think of) but I don't find any doc.</p>