DHCP_FORCE_FLAG enumeration (dhcpsapi.h)

The DHCP_FORCE_FLAG enumeration defines the set of flags describing the force level of a DHCP subnet element deletion operation.

Syntax

typedef enum _DHCP_FORCE_FLAG {
  DhcpFullForce,
  DhcpNoForce,
  DhcpFailoverForce
} DHCP_FORCE_FLAG, *LPDHCP_FORCE_FLAG;

Constants

Name Description
DhcpFullForce The operation deletes all client records affected by the element, and then deletes the element.
DhcpNoForce The operation only deletes the subnet element, leaving intact any client records impacted by the change.
DhcpFailoverForce The operation deletes all client records affected by the element, and then deletes the element from the DHCP server. But it does not delete any registered DNS records associated with the deleted client records from the DNS server. This flag is only valid when passed to DhcpDeleteSubnet. Note that the minimum server OS requirement for this value is Windows Server 2012 R2 with KB 3100473 installed.

Requirements

   
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Header dhcpsapi.h

See also

DhcpRemoveSubnetElementV5