Skip to content

Latest commit

 

History

History
114 lines (88 loc) · 3.03 KB

nf-dhcpsapi-dhcpv4failoverdeleterelationship.md

File metadata and controls

114 lines (88 loc) · 3.03 KB
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.DhcpV4FailoverDeleteRelationship
DhcpV4FailoverDeleteRelationship function (dhcpsapi.h)
Deletes a DHCPv4 failover relationship between two servers.
DhcpV4FailoverDeleteRelationship
DhcpV4FailoverDeleteRelationship function [DHCP]
dhcp.dhcpv4failoverdeleterelationship
dhcpsapi/DhcpV4FailoverDeleteRelationship
dhcp\dhcpv4failoverdeleterelationship.htm
DHCP
c7b894a4-4def-41fe-98b6-f56d6ff0c715
12/05/2018
DhcpV4FailoverDeleteRelationship, DhcpV4FailoverDeleteRelationship function [DHCP], dhcp.dhcpv4failoverdeleterelationship, dhcpsapi/DhcpV4FailoverDeleteRelationship
dhcpsapi.h
Windows
None supported
Windows Server 2012 [desktop apps only]
Dhcpsapi.lib
Dhcpsapi.dll
Windows
19H1
DhcpV4FailoverDeleteRelationship
dhcpsapi/DhcpV4FailoverDeleteRelationship
c++
APIRef
kbSyntax
DllExport
Dhcpsapi.dll
DhcpV4FailoverDeleteRelationship

DhcpV4FailoverDeleteRelationship function

-description

The DhcpV4FailoverDeleteRelationship function deletes a DHCPv4 failover relationship between two servers.

-parameters

-param ServerIpAddress [in, optional]

Pointer to a null-terminated Unicode string that represents the IP address or hostname of the DHCP server.

-param pRelationshipName [in]

Pointer to null-terminated Unicode string that represents the name of the relationship to delete.

-returns

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
ERROR_INVALID_PARAMETER
One or more of the parameters were invalid.
ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST
The failover relationship doesn't exist.

-see-also

DhcpV4FailoverCreateRelationship

DhcpV4FailoverEnumRelationship

DhcpV4FailoverGetRelationship

DhcpV4FailoverSetRelationship