Modify method of the MicrosoftDNS_CNAMEType class

The Modify method updates a Canonical Name (CNAME) Resource Record.

Syntax

void Modify(
  [in, optional] uint32                 TTL,
  [in, optional] string                 PrimaryName,
  [out, ref]     MicrosoftDNS_CNAMEType &RR
);

Parameters

TTL [in, optional]

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

PrimaryName [in, optional]

String representing the primary name for the CNAME record.

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

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

See also

MicrosoftDNS_CNAMEType

CreateInstanceFromPropertyData Method of the MicrosoftDNS_CNAMEType Class

MicrosoftDNS_ResourceRecord