The Modify method updates a Well-Known Services (WKS) Resource Record.
Syntax
void Modify(
[in, optional] uint32 TTL,
[in, optional] uint32 InternetAddress,
[in, optional] uint8 IPProtocol,
[in, optional] uint8 Services,
[out, ref] MicrosoftDNS_WKSType &RR
);
Parameters
TTL [in, optional]
Time, in seconds, that the RR can be cached by a DNS resolver.
InternetAddress [in, optional]
Internet IP address for the record's owner.
IPProtocol [in, optional]
String representing the IP protocol for this record. Valid values are UDP or TCP.
Services [in, optional]
String containing all services used by the Well Known Service (WKS) record.
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_WKSType 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.
