Freigeben über


SetByServer method of the PS_DnsServerZoneTransferPolicy class

Edits a zone transfer policy by server

Syntax

uint32 SetByServer(
  [in]  boolean         PassThru,
  [in]  string          ComputerName,
  [in]  string          ClientSubnet,
  [in]  string          Condition,
  [in]  string          InternetProtocol,
  [in]  string          Name,
  [in]  uint32          ProcessingOrder,
  [in]  string          ServerInterfaceIP,
  [in]  string          TimeOfDay,
  [in]  string          TransportProtocol,
  [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.

ClientSubnet [in]

Client subnet record name.

Condition [in]

The condition of the policy.

And

Or

InternetProtocol [in]

Internet Protocol criteria.

Name [in]

The name of the policy.

ProcessingOrder [in]

The order in which the query will be processed.

ServerInterfaceIP [in]

The server interface.

TimeOfDay [in]

Time of day criteria.

TransportProtocol [in]

Transport protocol criteria.

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