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.DhcpRemoveOptionV6 |
DhcpRemoveOptionV6 function (dhcpsapi.h) |
The DhcpRemoveOptionV6 function removes an option defined on the DHCP server. |
|
dhcp\dhcpremoveoptionv6.htm |
DHCP |
fccd07f2-b796-46b9-a004-edefa92ed08c |
12/05/2018 |
DHCP_FLAGS_OPTION_IS_VENDOR, DhcpRemoveOptionV6, DhcpRemoveOptionV6 function [DHCP], dhcp.dhcpremoveoptionv6, dhcpsapi/DhcpRemoveOptionV6 |
dhcpsapi.h |
Windows |
None supported |
Windows Server 2008 [desktop apps only] |
Dhcpsapi.lib |
Dhcpsapi.dll |
Windows |
19H1 |
|
|
|
|
|
|
The DhcpRemoveOptionV6 function removes an option defined on the DHCP server..
Pointer to a Unicode string that specifies the IP address or hostname of the DHCP server.
Specifies a bit flag that indicates whether or not the option is vendor-specific. If it is not, this parameter should be 0.
Value | Meaning |
---|---|
|
This flag should be set if the option is provided by a vendor. |
DHCP_OPTION_ID value that specifies the code for the option to remove.
Unicode string that specifies the DHCP class name of the option. This parameter is optional.
Unicode string that specifies the vendor of the option. This parameter is optional, and should be NULL when Flags is not set to DHCP_FLAGS_OPTION_IS_VENDOR.
This function returns ERROR_SUCCESS upon a successful call. Otherwise, it returns one of the DHCP Server Management API Error Codes.
Return code | Description |
---|---|
|
The parameters were invalid. |
|
The specified option is not present on the DHCP server. |