Partager via


Sync method of the PS_DnsServerZone class

Write back all zone or roothint datafile(s) for the specified zone.

Syntax

uint32 Sync(
  [in]  string        Name,
  [in]  string        ComputerName,
  [in]  boolean       PassThru,
  [out] DnsServerZone cmdletOutput[]
);

Parameters

Name [in]

Specifies the name of the zone, otherwise applies for all zones on the server

ComputerName [in]

Specifies the remote computer on which to execute the command

PassThru [in]

True to return the object that was modified by the method. By default, this method does not generate any output.

cmdletOutput [out]

On return, contains an instance of the current object. This parameter returns a value only if PassThru is set to true.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
Header
Mlang.h
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerZone