The CreateInstanceFromTextRepresentation method instantiates a MicrosoftDNS_ResourceRecord object.
Syntax
void CreateInstanceFromTextRepresentation(
[in] string DnsServerName,
[in] string ContainerName,
[in] string TextRepresentation,
[out, ref] MicrosoftDNS_ResourceRecord &RR
);
Parameters
DnsServerName [in]
Name of the DNS Server on which the RR should be created.
ContainerName [in]
Name of the container into which the new RR should be placed.
TextRepresentation [in]
Text representation of the RR instance to be created.
RR [out, ref]
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
GetObjectByTextRepresentation 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.
