QuarantineStatus enumeration (dhcpsapi.h)
The QuarantineStatus enumeration specifies possible health status values for the DHCPv4 client, as validated at the NAP server.
Syntax
typedef enum _QuarantineStatus {
NOQUARANTINE = 0,
RESTRICTEDACCESS,
DROPPACKET,
PROBATION,
EXEMPT,
DEFAULTQUARSETTING,
NOQUARINFO
} QuarantineStatus;
Constants
NOQUARANTINE Value: 0 The DHCP client is compliant with the health policies defined by the administrator and has normal access to the network. |
RESTRICTEDACCESS The DHCP client is not compliant with the health policies defined by the administrator and is being quarantined with restricted access to the network. |
DROPPACKET The DHCP client is not compliant with the health policies defined by the administrator and is being denied access to the network. The DHCP server does not grant an IP address lease to this client. |
PROBATION The DHCP client is not compliant with the health policies defined by the administrator and is being granted normal access to the network for a limited time. |
EXEMPT The DHCP client is exempt from compliance with the health policies defined by the administrator and is granted normal access to the network. |
DEFAULTQUARSETTING The DHCP client is put into the default quarantine state configured on the DHCP NAP server. When a network policy server (NPS) is unavailable, the DHCP client can be put in any of the states NOQUARANTINE, RESTRICTEDACCESS, or DROPPACKET, depending on the default setting on the DHCP NAP server. |
NOQUARINFO No quarantine. |
Remarks
The QuarantineStatus enumeration is used in the DHCP_CLIENT_FILTER_STATUS_INFO, DHCP_CLIENT_INFO_VQ, DHCP_CLIENT_INFO_PB, and DHCPV4_FAILOVER_CLIENT_INFO structures.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | dhcpsapi.h |