Modify method of the MicrosoftDNS_MXType class

The Modify method updates a Mail Exchanger (MR) Resource Record.

Syntax

void Modify(
  [in, optional] uint32              TTL,
  [in, optional] uint16              Preference,
  [in, optional] string              MailExchange,
  [out, ref]     MicrosoftDNS_MXType &RR
);

Parameters

TTL [in, optional]

Time, in seconds, that the RR can be cached by a DNS resolver.

Preference [in, optional]

Preference given to this RR among others at the same owner. Lower values are preferred.

MailExchange [in, optional]

FQDN specifying a host willing to act as a mail exchange for the owner name.

RR [out, ref]

Reference to the modified object.

Return value

This method does not return a value.

Remarks

Any parameter not specified is left unchanged in the modified record.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows 2000 Server [desktop apps only]
Namespace
Root\MicrosoftDNS
MOF
Dnsprov.mof

See also

MicrosoftDNS_MXType

CreateInstanceFromPropertyData Method of the MicrosoftDNS_MXType Class

MicrosoftDNS_ResourceRecord