MicrosoftDNS_MXType class
The subclass of MicrosoftDNS_ResourceRecord that represents a Mail Exchanger (MR) RR.
The following syntax is simplified from MOF code.
class MicrosoftDNS_MXType : MicrosoftDNS_ResourceRecord
{
uint16 Preference;
string MailExchange;
};
The MicrosoftDNS_MXType class has these types of members:
The MicrosoftDNS_MXType class has these methods.
Method | Description |
---|---|
CreateInstanceFromPropertyData | Instantiates an MX Type of RR based on the data in the method's input parameters: the record's DNS Server Name, Container Name, Owner Name, class (default = IN), time-to-live value, record preference, and host name willing to be a mail exchange. It returns a reference to the new object as an output parameter. Qualifiers: Implemented, static |
Modify | Updates the TTL, Preference, and Mail Exchange to the values specified as the input parameters of this method. If a new value for a parameter is not specified, then the current value for the parameter is not changed. The method returns a reference to the modified object as an output parameter. Qualifiers: Implemented |
The MicrosoftDNS_MXType class has these properties.
-
MailExchange
-
-
Data type: string
-
Access type: Read-only
FQDN specifying a host willing to act as a mail exchange for the owner name.
-
-
Preference
-
-
Data type: uint16
-
Access type: Read-only
Preference given to this RR among others at the same owner. Lower values are preferred.
-
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Namespace |
Root\MicrosoftDNS |
MOF |
|