# DhcpRemoveSubnetElementV5

```csharp
[DllImport("dhcpsapi.dll", SetLastError = true)]
public static extern uint DhcpRemoveSubnetElementV5(
   IntPtr ServerIpAddress,
   uint SubnetAddress,
   ref DHCP_SUBNET_ELEMENT_DATA_V5 RemoveElementInfo
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/windows/win32/api/dhcpsapi/nf-dhcpsapi-dhcpremovesubnetelementv5)
