Ejemplo n.º 1
0
 public void RemovePortGroup(VMware.Vim.HostConfigManager configMgr, string portGroupName)
 {
     VMware.Vim.ManagedObjectReference nMob = configMgr.NetworkSystem;
     //HostNetworkInfo nwSystem = (HostNetworkInfo)this.GetDynamicProperty(nMob, "networkInfo");
     vimService.RemovePortGroup(nMob != null ? new VimApi_55.ManagedObjectReference()
     {
         type  = nMob.Type,
         Value = nMob.Value
     } : null, portGroupName);
 }