CreateInstanceFromTextRepresentation method of the MicrosoftDNS_ResourceRecord class

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

MicrosoftDNS_ResourceRecord

GetObjectByTextRepresentation Method of the MicrosoftDNS_ResourceRecord Class