Freigeben über


SetByZone method of the PS_DnsServerZoneTransferPolicy class

Edits a zone transfer policy by zone.

Syntax

uint32 SetByZone(
  [in]  boolean         PassThru,
  [in]  string          ComputerName,
  [in]  string          Name,
  [in]  string          ZoneName,
  [in]  string          ClientSubnet,
  [in]  string          InternetProtocol,
  [in]  string          TimeOfDay,
  [in]  string          TransportProtocol,
  [in]  uint32          ProcessingOrder,
  [in]  string          ServerInterfaceIP,
  [in]  string          Condition,
  [out] DnsServerPolicy cmdletOutput
);

Parameters

PassThru [in]

true to return the current instance in the CmdletOutput parameter. The default is false.

ComputerName [in]

Optional DNS server name.

Name [in]

Name of the policy to edit.

ZoneName [in]

Name of the zone.

ClientSubnet [in]

Client subnet record name.

InternetProtocol [in]

Internet Protocol criteria.

TimeOfDay [in]

Time of day criteria.

TransportProtocol [in]

Transport protocol criteria.

ProcessingOrder [in]

The order in which the query will be processed.

ServerInterfaceIP [in]

The server interface.

Condition [in]

The condition of the policy.

And

Or

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
DnsServerPsProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerZoneTransferPolicy