UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dhcpsapi.DhcpV4FailoverSetRelationship |
DhcpV4FailoverSetRelationship function (dhcpsapi.h) |
Sets or modifies the parameters of a DHCPv4 server failover relationship. |
|
dhcp\dhcpv4failoversetrelationship.htm |
DHCP |
04012953-dca3-426f-99de-798870d1eb97 |
12/05/2018 |
CHANGESTATE, DhcpV4FailoverSetRelationship, DhcpV4FailoverSetRelationship function [DHCP], MCLT, MODE, PERCENTAGE, PREVSTATE, SAFEPERIOD, dhcp.dhcpv4failoversetrelationship, dhcpsapi/DhcpV4FailoverSetRelationship |
dhcpsapi.h |
Windows |
None supported |
Windows Server 2012 [desktop apps only] |
Dhcpsapi.lib |
Dhcpsapi.dll |
Windows |
19H1 |
|
|
|
|
|
|
The DhcpV4FailoverSetRelationship function sets or modifies the parameters of a DHCPv4 server failover relationship.
Pointer to a null-terminated Unicode string that represents the IP address or hostname of the DHCP server.
A bitmask that specifies the fields to update in pRelationship. Each value specifies a member of the DHCP_FAILOVER_RELATIONSHIP structure to be modified.
Pointer to a DHCP_FAILOVER_RELATIONSHIP structure that contains update information about the fields in the DHCPv4 failover relationship.
If the function succeeds, it returns ERROR_SUCCESS.
If the function fails, it returns one of the following or an error code from DHCP Server Management API Error Codes.
Value | Meaning |
---|---|
|
One or more of the parameters were invalid. |
|
The failover relationship doesn’t exist. |
DhcpV4FailoverCreateRelationship
DhcpV4FailoverDeleteRelationship