y)
{
    return _handle.GetNumProperties(property);
}
  </pre>
 <p>
  We can now write such properties as <code>RunningVirtualMachines</code>.
 </p>
 <pre lang="cs">public IEnumerable&lt;VMWareVirtualMachine&gt; RunningVirtualMachines
{
    get
    {    
        VMWareJobCallback callback = new VMWareJobCallback();
        VMWareJob job = new VMWareJob(_handle.FindItems(
            Constants.VIX_FIND_RUNNING_VMS, null, -1, callback), 
            callback);
        object[] properties = { C