The MicrosoftDNS_Statistic class represents a single DNS Server statistic.
The following syntax is simplified from MOF code.
Syntax
class MicrosoftDNS_Statistic
{
string DnsServerName;
string CollectionName;
uint32 CollectionId;
string Name;
uint32 Value;
string StringValue;
};
Members
The MicrosoftDNS_Statistic class has these types of members:
Properties
The MicrosoftDNS_Statistic class has these properties.
CollectionId
Data type: uint32
Access type: Read-only
Numeric representation of CollectionName.
CollectionName
Data type: string
Access type: Read-only
Name of the collection to which the statistic belongs.
DnsServerName
Data type: string
Access type: Read-only
Indicates the FQDN or IP address of the DNS Server that contains the statistic.
Name
Data type: string
Access type: Read-only
Name of the statistic.
StringValue
Data type: string
Access type: Read-only
String value of the statistic, used only when the statistic value is not represented as a DWORD.
Value
Data type: uint32
Access type: Read-only
Numeric value of the statistic, represented as a DWORD.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Namespace | Root\MicrosoftDNS |
| MOF | Dnsprov.mof |
See also
MicrosoftDNS_StatisticCollection
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
