RemoveByZone method of the PS_DnsServerZoneTransferPolicy class
Removes a zone transfer policy by zone.
Syntax
uint32 RemoveByZone(
[in] boolean PassThru,
[in] string Name,
[in] string ComputerName,
[in] boolean Force,
[in] string ZoneName,
[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.
-
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 |
|
DLL |
|