Partager via


DnsServerResourceRecordMX class

DNS Server Resource Record MX.

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("DnsServerPSProvider"), AMENDMENT]
class DnsServerResourceRecordMX : DnsServerResourceRecordData
{
  uint16 Preference;
  string MailExchange;
};

Members

The DnsServerResourceRecordMX class has these types of members:

Properties

The DnsServerResourceRecordMX class has these properties.

MailExchange

Data type: string

Access type: Read/write

Mail Exchange.

Preference

Data type: uint16

Access type: Read/write

Preference.

Requirements

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

See also

DnsServerResourceRecordData

DnsServerPSProvider Provider