Поделиться через


Disable method of the PS_DNSServerPolicy class

Disables a DNS server policy.

Syntax

uint32 Disable(
  [in] string  Level,
  [in] string  Name,
  [in] string  ComputerName,
  [in] boolean Force,
  [in] string  ZoneName
);

Parameters

Level [in]

The level of the policy.

Server

The policy applies to a single server.

Zone

The policy applies to a zone.

Name [in]

Name of the policy.

ComputerName [in]

Optional DNS server name.

Force [in]

If specified, overrides the default confirmation before performing the operation.

ZoneName [in]

Name of the zone.

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_DNSServerPolicy