Share via


DhcpServerv4Statistics class

Dhcp Server v4 Statistics.

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("DhcpServerPSProvider"), AMENDMENT]
class DhcpServerv4Statistics
{
  uint32   Discovers;
  uint32   Offers;
  uint32   Requests;
  uint32   Acks;
  uint32   Naks;
  uint32   Declines;
  uint32   Releases;
  DateTime ServerStartTime;
  uint32   DelayedOffers;
  uint32   TotalScopes;
  uint32   ScopesWithDelayConfigured;
  uint32   TotalAddresses;
  uint32   AddressesInUse;
  uint32   AddressesAvailable;
  uint32   PendingOffers;
  real32   PercentageInUse;
  real32   PercentageAvailable;
  real32   PercentagePendingOffers;
};

Members

The DhcpServerv4Statistics class has these types of members:

Properties

The DhcpServerv4Statistics class has these properties.

Acks

Data type: uint32

Access type: Read-only

No. of DHCPACK messages sent to IPv4 clients from the server.

AddressesAvailable

Data type: uint32

Access type: Read-only

Addresses available across all scopes on the Dhcp server.

AddressesInUse

Data type: uint32

Access type: Read-only

Addresses in use across all scopes on the Dhcp server.

Declines

Data type: uint32

Access type: Read-only

No. of DHCPDECLINE messages sent to IPv4 clients from the server.

DelayedOffers

Data type: uint32

Access type: Read-only

No. of delayed DHCPOFFER messages sent by DHCP server.

Discovers

Data type: uint32

Access type: Read-only

No. of DHCPDISCOVER messages received from IPv4 clients.

Naks

Data type: uint32

Access type: Read-only

No. of DHCPNAK messages sent to IPv4 clients from the server.

Offers

Data type: uint32

Access type: Read-only

No. of unconfirmed DHCPOFFER messages sent to IPv4 clients.

PendingOffers

Data type: uint32

Access type: Read-only

Pending Offers across all scopes on the Dhcp server.

PercentageAvailable

Data type: real32

Access type: Read-only

Percentage of addresses available.

PercentageInUse

Data type: real32

Access type: Read-only

Percentage of addresses in use.

PercentagePendingOffers

Data type: real32

Access type: Read-only

Percentage of addresses pending.

Releases

Data type: uint32

Access type: Read-only

No. of DHCPRELEASE messages sent to IPv4 clients from the server.

Requests

Data type: uint32

Access type: Read-only

No. of DHCPREQUEST messages received from IPv4 clients.

ScopesWithDelayConfigured

Data type: uint32

Access type: Read-only

No. of scopes configured with subnet delay for DHCPOFFER messages.

ServerStartTime

Data type: DateTime

Access type: Read-only

Start time of the DHCP server.

TotalAddresses

Data type: uint32

Access type: Read-only

Total addresses across all scopes on the Dhcp server.

TotalScopes

Data type: uint32

Access type: Read-only

Total number of scopes configured on the Dhcp server.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll