Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves, updates, or removes an IPv4 reservation for a DHCP server.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[ClassVersion("1.0.0"), dynamic, provider("DhcpServerPSProvider"), AMENDMENT]
class PS_DhcpServerv4Reservation
{
};
Members
The PS_DhcpServerv4Reservation class has these types of members:
Methods
The PS_DhcpServerv4Reservation class has these methods.
| Method | Description |
|---|---|
| Add | Reserves the specified IPv4 address in the scope for a client. |
| GetByClientId | Gets the IPv4 reservation(s) for the specified IP addresses or client identifiers. If only a scope identifier is specified, all IPv4 reservations from the specified scope are returned. |
| GetByIPAddress | Gets the IPv4 reservation(s) for the specified IP addresses or client identifiers. If only a scope identifier is specified, all IPv4 reservations from the specified scope are returned. |
| GetByScopeId | Gets the IPv4 reservation(s) for the specified IP addresses or client identifiers. If only a scope identifier is specified, all IPv4 reservations from the specified scope are returned. |
| RemoveByClientId | Deletes the IPv4 Reservation from the specified scope |
| RemoveByIPAddress | Deletes the IPv4 Reservation from the specified scope |
| RemoveByScopeId | Deletes the IPv4 Reservation from the specified scope |
| Set | Modifies/sets the properties of an IPv4 reservation |
Requirements
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2012 |
| Namespace |
Root\Microsoft\Windows\DHCP |
| MOF |
|
| DLL |
|