ClearByZoneStatistics method of the PS_DnsServerStatistics class
Clear DNS server statistics.
Syntax
uint32 ClearByZoneStatistics(
[in] boolean Force,
[in] string ZoneName[],
[in] string ComputerName
);
Parameters
-
Force [in]
-
If specified, overrides the default confirmation before performing the operation.
-
ZoneName [in]
-
Specifies zone name(s) for which statistics need to be cleared.
If ZoneName is specified, clear statistics for the specified zone(s). If ZoneName is not specified, aggregated server level statistics are cleared. Zone level statistics are not cleared in this case.
-
ComputerName [in]
-
Specifies the remote computer on which to execute the command
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\Microsoft\Windows\Dns |
MOF |
|
DLL |
|