Share via


Clear method of the PS_DnsServerCache class

Clears the settings of a DNS server cache.

Syntax

uint32 Clear(
  [in] string  ComputerName,
  [in] boolean Force,
  [in] string  CacheScope
);

Parameters

ComputerName [in]

The remote computer on which to execute the command.

Force [in]

true to override the default confirmation before performing the operation; otherwise, false.

CacheScope [in]

The scope name of the cache settings.

Windows Server 2012 R2 and Windows Server 2012: Not supported.

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_DnsServerCache