Partager via


AddByInputObject method of the PS_DnsServerZoneTransferPolicy class

Adds a new zone transfer policy by input object.

Syntax

uint32 AddByInputObject(
  [in]  string          ComputerName,
  [in]  boolean         PassThru,
  [in]  DnsServerPolicy InputObject,
  [in]  string          ZoneName,
  [out] DnsServerPolicy cmdletOutput
);

Parameters

ComputerName [in]

Name of the computer.

PassThru [in]

true to return the current instance in the CmdletOutput parameter. The default is false.

InputObject [in]

Input object to add.

ZoneName [in]

Name of the zone.

cmdletOutput [out]

On return, contains a DnsServerPolicy. This parameter returns a value only if PassThru is set to true.

Requirements

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

See also

PS_DnsServerZoneTransferPolicy