The GetObjectByTextRepresentation method retrieves an existing instance of the MicrosoftDNS_ResourceRecord class.
Syntax
void GetObjectByTextRepresentation(
[in] string DnsServerName,
[in] string ContainerName,
[in] string TextRepresentation,
[out] MicrosoftDns_ResourceRecord RR
);
Parameters
DnsServerName [in]
Name of the DNS Server from which the RR should be retrieved.
ContainerName [in]
Name of the container from which the RR should be obtained.
TextRepresentation [in]
Text representation of the RR to be retrieved.
RR [out]
Reference to the instantiated RR.
Return value
This method does not return a value.
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
CreateInstanceFromTextRepresentation Method of the MicrosoftDNS_ResourceRecord 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.
