Partager via


Restore method of the PS_DnsServerPrimaryZone class

Copies zone information from its source.

Syntax

uint32 Restore(
  [in]  string               Name,
  [in]  string               ComputerName,
  [in]  boolean              PassThru,
  [in]  boolean              Force,
  [out] DnsServerPrimaryZone 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]

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

cmdletOutput [out]

Receives an embedded instance of the DnsServerPrimaryZone 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_DnsServerPrimaryZone