Share via


RemoveByServer method of the PS_DnsServerZoneTransferPolicy class

Removes a zone transfer policy by server.

Syntax

uint32 RemoveByServer(
  [in]  boolean         PassThru,
  [in]  string          Name,
  [in]  string          ComputerName,
  [in]  boolean         Force,
  [out] DnsServerPolicy cmdletOutput
);

Parameters

PassThru [in]

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

Name [in]

Name of the policy to remove.

ComputerName [in]

Optional computer name.

Force [in]

True to not require user confirmation before continuing with the operation; false to require user confirmation. The default value is false.

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