Partager via


Restore method of the PS_DnsServerSecondaryZone class

Forces a secondary DNS zone to update from the master zone.

Syntax

uint32 Restore(
  [in]  string                 Name,
  [in]  string                 ComputerName,
  [in]  boolean                PassThru,
  [in]  boolean                Force,
  [out] DnsServerSecondaryZone cmdletOutput
);

Parameters

Name [in]

Specifies the name of the zone.

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.

Force [in]

Updates the DNS zone without prompting you for confirmation. By default, the method prompts you for confirmation before it proceeds.

cmdletOutput [out]

Receives and embedded instance of the DnsServerSecondaryZone class.

Requirements

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

See also

PS_DnsServerSecondaryZone