Modify method of the MicrosoftDNS_SRVType class

The Modify method updates a Service (SRV) Resource Record.

Syntax

void Modify(
  [in, optional] uint32               TTL,
  [in, optional] uint16               Priority,
  [in, optional] uint16               Weight,
  [in, optional] uint16               Port,
  [in, optional] string               SRVDomainName,
  [out, ref]     MicrosoftDNS_SRVType &RR
);

Parameters

TTL [in, optional]

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

Priority [in, optional]

Priority of the target host specified in the owner name. Lower numbers imply higher priorities.

Weight [in, optional]

Weight of the target host. This is useful when selecting among hosts that have the same priority. The chances of using this host should be proportional to its weight.

Port [in, optional]

Port used on the target host of a protocol service.

SRVDomainName [in, optional]

FQDN of the target host. A target of \.\ means that the service is decidedly not available at this domain.

RR [out, ref]

Reference to the new 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_SRVType

CreateInstanceFromPropertyData Method of the MicrosoftDNS_SRVType Class

MicrosoftDNS_ResourceRecord