Partager via


PS_DnsClientNrptRule class

DNS Client NRPT Rule

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("DnsClientPSProvider"), AMENDMENT]
class PS_DnsClientNrptRule
{
};

Members

The PS_DnsClientNrptRule class has these types of members:

Methods

The PS_DnsClientNrptRule class has these methods.

Method Description
Add Adds a rule to Name Resolution Policy Table.
Get Retrieves DNS client Name Resolution Policy Table rules.
Remove Removes DNS client NRPT rule.
Set Modifies DNS client NRPT rule.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsClientPSProvider.mof
DLL
DnsClientPSProvider.dll