Share via


DhcpServerv4Reservation class

Dhcp Server v4 Reservation.

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 DhcpServerv4Reservation
{
  string Name;
  string Description;
  string Type;
  string ClientId;
  string IPAddress;
  string ScopeId;
  string AddressState;
};

Members

The DhcpServerv4Reservation class has these types of members:

Properties

The DhcpServerv4Reservation class has these properties.

AddressState

Data type: string

Access type: Read/write

Address state of client.

ActiveReservation ("ActiveReservation")

InactiveReservation ("InactiveReservation")

Windows Server 2012: This value is supported beginning with Windows Server 2012 R2.

ClientId

Data type: string

Access type: Read/write

Client unique identifier for the reservation.

Description

Data type: string

Access type: Read/write

Description of the reservation.

IPAddress

Data type: string

Access type: Read/write

IPAddress of given reservation

Name

Data type: string

Access type: Read/write

Name of the reservation.

ScopeId

Data type: string

Access type: Read/write

Scope identifier(unique) for the scope to which reservation belongs on Dhcp server

Type

Data type: string

Access type: Read/write

Address type of the reservation.

Dhcp ("Dhcp")

Bootp ("Bootp")

Both ("Both")

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll