Table of Contents

Class MicrosoftDnsServerResourceRecord

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

Represents a resource record configured for a Microsoft DNS server.

public class MicrosoftDnsServerResourceRecord : BaseTypeSection, IComparable<MicrosoftDnsServerResourceRecord>
Inheritance
MicrosoftDnsServerResourceRecord
Implements

Constructors

MicrosoftDnsServerResourceRecord()

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

public MicrosoftDnsServerResourceRecord()

Properties

CollectionDisplayField

Gets the collection display field used by the data comparer.

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

Property Value

string

CollectionIndex

Gets the collection index used by the data comparer.

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

Property Value

string

HostName

Gets or sets the host name of the resource record.

public string HostName { get; set; }

Property Value

string

RecordDataString

Gets or sets the record data as a string.

public string RecordDataString { get; set; }

Property Value

string

RecordType

Gets or sets the record type - for example "MX".

public MicrosoftDnsServerResourceRecordType RecordType { get; set; }

Property Value

MicrosoftDnsServerResourceRecordType

RecordTypeString

Gets the record type as a human readable string - for example "Mail Exchanger (MX)".

public string RecordTypeString { get; set; }

Property Value

string

TimeToLive

Gets or sets the time to live (TTL) for the record.

public SerializableTimeSpan TimeToLive { get; set; }

Property Value

SerializableTimeSpan

Timestamp

Gets or sets the date and time on which this record was last updated. A value of DateTime.MinValue indicates that this is a static record.

public DateTime Timestamp { get; set; }

Property Value

DateTime

TimestampString

Gets the date and time on which this record was last updated.

public string TimestampString { get; set; }

Property Value

string

Methods

Clone()

Returns a CENTREL.XIA.Configuration.Types.MicrosoftDnsServerResourceRecord cloned from this object.

public MicrosoftDnsServerResourceRecord Clone()

Returns

MicrosoftDnsServerResourceRecord

A CENTREL.XIA.Configuration.Types.MicrosoftDnsServerResourceRecord.

CompareTo(MicrosoftDnsServerResourceRecord)

Compares two CENTREL.XIA.Configuration.Types.MicrosoftDnsServerResourceRecord objects to allow sorting alphabetically by hostname.

public int CompareTo(MicrosoftDnsServerResourceRecord other)

Parameters

other MicrosoftDnsServerResourceRecord

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

Returns

int

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

ToString()

Returns the resource record as a human readable string.

public override string ToString()

Returns

string

The resource record as a human readable string.