.
static extern uint DhcpRemoveSubnetElementV5(
.
uint result = NativeMethods.DhcpRemoveSubnetElementV5(server.Address, subnet, ref element, NativeMethods.DHCP_FORCE_FLAG.DhcpFullForce);
.
throw new DhcpException(result, "DhcpRemoveSubnetElementV5");
.