Partager via


GetByZone method of the PS_DnsServerZoneTransferPolicy class

Enumerates a zone transfer object 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_DnsServerZoneTransferPolicy