Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DHCP_SUBNET_STATE enumeration defines the set of possible states for a subnet.
Syntax
typedef enum _DHCP_SUBNET_STATE {
DhcpSubnetEnabled = 0,
DhcpSubnetDisabled,
DhcpSubnetEnabledSwitched,
DhcpSubnetDisabledSwitched,
DhcpSubnetInvalidState
} DHCP_SUBNET_STATE, *LPDHCP_SUBNET_STATE;
Constants
DhcpSubnetEnabledValue: 0 The subnet is enabled; the server will distribute addresses, extend leases, and release addresses within the subnet range to clients. |
DhcpSubnetDisabledThe subnet is disabled; the server will not distribute addresses or extend leases within the subnet range to clients. However, the server will still release addresses within the subnet range. |
DhcpSubnetEnabledSwitchedThe subnet is enabled; the server will distribute addresses, extend leases, and release addresses within the subnet range to clients. The default gateway is set to the local machine itself. |
DhcpSubnetDisabledSwitchedThe subnet is disabled; the server will not distribute addresses or extend leases within the subnet range to clients. However, the server will still release addresses within the subnet range. The default gateway is set to the local machine itself. |
DhcpSubnetInvalidStateThe subnet is in an invalid state. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | dhcpsapi.h |