DHCP_FAILOVER_STATISTICS structure (dhcpsapi.h)

The DHCP_FAILOVER_STATISTICS structure defines DHCP server scope statistics that are part of a failover relationship.

Syntax

typedef struct _DHCP_FAILOVER_STATISTICS {
  DWORD NumAddr;
  DWORD AddrFree;
  DWORD AddrInUse;
  DWORD PartnerAddrFree;
  DWORD ThisAddrFree;
  DWORD PartnerAddrInUse;
  DWORD ThisAddrInUse;
} DHCP_FAILOVER_STATISTICS, *LPDHCP_FAILOVER_STATISTICS;

Members

NumAddr

Value that specifies the total number of addresses in a DHCPv4 scope that are part of a failover relationship.

AddrFree

Value that specifies the total number of free IPv4 addresses that can be leased out to clients in a DHCPv4 scope that are part of a failover relationship.

AddrInUse

Value that specifies the total number of IPv4 addresses that are leased out to clients in a DHCPv4 scope that are part of a failover relationship.

PartnerAddrFree

Value that specifies the number of free IPv4 addresses on the partner server that can be leased out to clients in a DHCPv4 scope that are part of a failover relationship.

ThisAddrFree

Value that specifies the number of free IPv4 addresses on the local server that can be leased out to clients in a DHCPv4 scope that are part of a failover relationship.

PartnerAddrInUse

Value that specifies the number of IPv4 addresses on the partner server that are leased out to clients in a DHCPv4 scope that are part of a failover relationship.

ThisAddrInUse

Value that specifies the number of IPv4 addresses on the local server that are leased out to clients in a DHCPv4 scope that are part of a failover relationship.

Requirements

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

See also

DhcpV4FailoverGetScopeStatistics