Table of Contents

Class MicrosoftDhcpServerv4OptionDefinition

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

Represents a Microsoft DHCP server IPv4 option definition.

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

Constructors

MicrosoftDhcpServerv4OptionDefinition()

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

public MicrosoftDhcpServerv4OptionDefinition()

Properties

CollectionIndex

Gets the collection index for the option definition.

[Browsable(false)]
public string CollectionIndex { get; }

Property Value

string

DefaultValues

Gets or sets the default values configured for this option.

public SerializableStringCollection DefaultValues { get; set; }

Property Value

SerializableStringCollection

DefaultValuesString

Gets the default values as a human readable string.

public string DefaultValuesString { get; set; }

Property Value

string

Description

Gets or sets the description of the option.

public string Description { get; set; }

Property Value

string

DisplayName

Gets the display name of the option - for example "004 Time Server".

public string DisplayName { get; set; }

Property Value

string

IsMultiValued

Gets or sets whether the option supports multiple values.

public BooleanOption IsMultiValued { get; set; }

Property Value

BooleanOption

OptionId

Gets or sets the option identifier.

public int OptionId { get; set; }

Property Value

int

OptionName

Gets or sets the display name of the option - for example "Time Server".

public string OptionName { get; set; }

Property Value

string

ValueType

Gets or sets the value type.

public MicrosoftDhcpServerv4OptionValueType ValueType { get; set; }

Property Value

MicrosoftDhcpServerv4OptionValueType

VendorClass

Gets or sets the optional vendor class for the option definition.

public string VendorClass { get; set; }

Property Value

string

VendorClassString

Gets the vendor class name as a human readable string.

public string VendorClassString { get; set; }

Property Value

string

Methods

CompareTo(MicrosoftDhcpServerv4OptionDefinition)

Compares two CENTREL.XIA.Configuration.Types.MicrosoftDhcpServerv4OptionDefinition values to allow sorting by option identifier.

public int CompareTo(MicrosoftDhcpServerv4OptionDefinition other)

Parameters

other MicrosoftDhcpServerv4OptionDefinition

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

Returns

int

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

ToString()

Returns the display name of the option - for example "004 Time Server".

public override string ToString()

Returns

string

The display name of the option - for example "004 Time Server".