Table of Contents

Class MicrosoftDhcpServerv4Reservation

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a Microsoft DHCP IPv4 reservation.

public class MicrosoftDhcpServerv4Reservation : GlobalSerializableClassicBase, IComparable<MicrosoftDhcpServerv4Reservation>
Inheritance
MicrosoftDhcpServerv4Reservation
Implements

Constructors

MicrosoftDhcpServerv4Reservation()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Reservation class.

public MicrosoftDhcpServerv4Reservation()

Properties

AddressState

Gets or sets the state of the reservation address. This is only available on Windows Server 2012 R2 and above.

public MicrosoftDhcpServerv4ReservationAddressState AddressState { get; set; }

Property Value

MicrosoftDhcpServerv4ReservationAddressState

ClientIdentifier

Gets or sets the client identifier.

public string ClientIdentifier { get; set; }

Property Value

string

Description

Gets or sets the description of the reservation.

public string Description { get; set; }

Property Value

string

DisplayName

Gets the display name of the reservation.

public string DisplayName { get; set; }

Property Value

string

Dns

Gets or sets the DNS settings for the reservation.

public MicrosoftDhcpServerv4DnsSettings Dns { get; set; }

Property Value

MicrosoftDhcpServerv4DnsSettings

IPAddress

Gets or sets the IP address of the reservation.

public string IPAddress { get; set; }

Property Value

string

OptionValues

Gets or sets the option values assigned to the reservation.

public MicrosoftDhcpServerv4OptionValues OptionValues { get; set; }

Property Value

MicrosoftDhcpServerv4OptionValues

ReservationName

Gets or sets the reservation name.

public string ReservationName { get; set; }

Property Value

string

ReservationType

Gets or sets the reservation type.

public MicrosoftDhcpServerv4ReservationType ReservationType { get; set; }

Property Value

MicrosoftDhcpServerv4ReservationType

ScopeIdentifier

Gets or sets the identifier of the scope in which the reservation resides - for example "192.168.1.0".

public string ScopeIdentifier { get; set; }

Property Value

string

Methods

CompareTo(MicrosoftDhcpServerv4Reservation)

Compares two CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Reservation values to allow sorting by IP address.

public int CompareTo(MicrosoftDhcpServerv4Reservation other)

Parameters

other MicrosoftDhcpServerv4Reservation

The CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Reservation to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4Reservation objects.

ToString()

Returns the reservation as a human readable string.

public override string ToString()

Returns

string

The reservation as a human readable string.