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


GetByZone method of the PS_DnsServerQueryResolutionPolicy class

Enumerates the name resolution policies by zone

Syntax

uint32 GetByZone(
  [in]  string          Name,
  [in]  string          ComputerName,
  [in]  string          ZoneName,
  [out] DnsServerPolicy cmdletOutput[]
);

Parameters

Name [in]

Name of the policy to retrieve.

ComputerName [in]

Optional DNS server name.

ZoneName [in]

Name of the zone.

cmdletOutput [out]

On return, contains an array of 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_DnsServerQueryResolutionPolicy