DnsServerTimeStatistics class

Represents time statistics for a DNS server.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class DnsServerTimeStatistics
{
  datetime TimeElapsedSinceServerStartBetweenRestart;
  datetime TimeElapsedSinceLastClearedStatisticsBetweenRestart;
  datetime TimeElapsedSinceServerStart;
  datetime TimeElapsedSinceLastClearedStatistics;
  datetime ServerStartTime;
  datetime LastClearTime;
};

Members

The DnsServerTimeStatistics class has these types of members:

Properties

The DnsServerTimeStatistics class has these properties.

LastClearTime

Data type: datetime

Access type: Read-only

The time the server statistics was last cleared.

ServerStartTime

Data type: datetime

Access type: Read-only

The time the server started.

TimeElapsedSinceLastClearedStatistics

Data type: datetime

Access type: Read-only

The number of seconds since the last time that the server statistics were cleared.

TimeElapsedSinceLastClearedStatisticsBetweenRestart

Data type: datetime

Access type: Read-only

The number of seconds that elapsed between the time the server machine was restarted and the last time the server statistics were cleared.

TimeElapsedSinceServerStart

Data type: datetime

Access type: Read-only

The number of seconds since the server started.

TimeElapsedSinceServerStartBetweenRestart

Data type: datetime

Access type: Read-only

The number of seconds that has elapsed since the server machine was last restarted.

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

DnsServerPSProvider Provider