Share via


SetByName method of the PS_DnsServerZoneDelegation class

Updates the zone delegation.

Syntax

uint32 SetByName(
  [in]  string                  ChildZoneName,
  [in]  string                  IPAddress[],
  [in]  string                  NameServer,
  [in]  string                  Name,
  [in]  string                  ComputerName,
  [in]  boolean                 PassThru,
  [in]  string                  ZoneScope,
  [in]  string                  VirtualizationInstance,
  [out] DnsServerZoneDelegation cmdletOutput
);

Parameters

ChildZoneName [in]

Name of the child zone

IPAddress [in]

Overwrite with the specified NameServers

NameServer [in]

Specifies a name server for the domain.

Name [in]

Specifies the name of the Parent

ComputerName [in]

Specifies the remote computer on which to execute the command

PassThru [in]

true to return the object that was modified by the method. By default, this method does not generate any output.

ZoneScope [in]

Name of the zone scope.

Windows Server 2012: Not supported.

VirtualizationInstance [in]

Unique identifier of the virtualization instance.

Windows Server 2012 R2 and Windows Server 2012: This parameter is not supported before Windows Server 2016.

cmdletOutput [out]

On return, contains an instance of the current object. This parameter returns a value only if PassThru is set to true.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerZoneDelegation