Partager via


Suspend method of the PS_DnsServerZone class

Pauses the specified zone, which then ignores query requests.

Syntax

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

true to not require user confirmation before continuing with the operation; false to require user confirmation. The default is false.

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

See also

PS_DnsServerZone