The Modify method updates a Route Through (RT) Resource Record.
Syntax
void Modify(
[in, optional] uint32 TTL,
[in, optional] uint16 Preference,
[in, optional] string IntermediateHost,
[out, ref] MicrosoftDNS_RTType &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.
IntermediateHost [in, optional]
FQDN specifying a host to serve as an intermediate in reaching the host specified by owner.
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
CreateInstanceFromPropertyData Method of the MicrosoftDNS_RTType Class
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
