Skip to content

Latest commit

 

History

History
126 lines (106 loc) · 2.76 KB

nf-dhcpsapi-dhcpdeleteclassv6.md

File metadata and controls

126 lines (106 loc) · 2.76 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.DhcpDeleteClassV6
DhcpDeleteClassV6 function (dhcpsapi.h)
Deletes a DHCP class from the DHCPv6 server.
DhcpDeleteClassV6
DhcpDeleteClassV6 function [DHCP]
dhcp.dhcpdeleteclassv6
dhcpsapi/DhcpDeleteClassV6
dhcp\dhcpdeleteclassv6.htm
DHCP
b818ed6f-16a3-4259-be40-001875809c78
12/05/2018
DhcpDeleteClassV6, DhcpDeleteClassV6 function [DHCP], dhcp.dhcpdeleteclassv6, dhcpsapi/DhcpDeleteClassV6
dhcpsapi.h
Windows
None supported
Windows Server 2008 R2 [desktop apps only]
Dhcpsapi.lib
Dhcpsapi.dll
Windows
19H1
DhcpDeleteClassV6
dhcpsapi/DhcpDeleteClassV6
c++
APIRef
kbSyntax
DllExport
Dhcpsapi.dll
DhcpDeleteClassV6

DhcpDeleteClassV6 function

-description

The DhcpDeleteClassV6 function deletes a DHCP class from the DHCPv6 server.

-parameters

-param ServerIpAddress [in]

Pointer to a Unicode string that contains the IPv6 address of the DHCPv6 server. This string is used as a handle for resolving RPC API calls.

-param ReservedMustBeZero [in]

Reserved. This parameter must be set to 0.

-param ClassName [in]

Unicode string that specifies the name of the DHCPv6 class to delete.

-returns

This function returns ERROR_SUCCESS upon a successful call. Otherwise, it returns one of the DHCP Server Management API Error Codes.

Return code Description
ERROR_ACCESS_DENIED
This call was performed by a client who is not a member of the "DHCP Administrators" security group.
ERROR_DHCP_JET_ERROR
An error occurred while accessing the DHCP server's database.
ERROR_DHCP_CLASS_NOT_FOUND
The class name could not be found in the database.
ERROR_DHCP_DELETE_BUILTIN_CLASS
The class is a built-in class and cannot be deleted.

-see-also

DhcpCreateClassV6