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,
  [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.

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

 

 

Show: