Partager via


GetByServer method of the PS_DnsServerZoneTransferPolicy class

Enumerates a zone transfer policy by server.

Syntax

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

Parameters

Name [in]

Name of the policy to retrieve.

ComputerName [in]

Optional DNS server name.

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