Compartilhar via


PS_DnsServerQueryResolutionPolicy class

Describes a DNS server query resolution policy.

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 PS_DnsServerQueryResolutionPolicy
{
};

Members

The PS_DnsServerQueryResolutionPolicy class has these types of members:

Methods

The PS_DnsServerQueryResolutionPolicy class has these methods.

Method Description
AddByInputObject Adds a query resolution policy to the DNS server by input object.
AddByServer Adds a query resolution policy to the DNS server by server.
AddByZone Adds a query resolution policy to the DNS server by zone.
GetByServer Enumerates the name resolution policies by server.
GetByZone Enumerates the name resolution Policies by zone.
RemoveByServer Removes the name resolution policy from a DNS server by server.
RemoveByZone Removes the name resolution policy from a DNS server by zone.
SetByInputObject Sets the DNS server name resolution policy by input object.
SetByServer Sets the DNS server name resolution policy by server.
SetByZone Sets the DNS server name resolution policy by zone.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPsProvider.mof
DLL
DnsServerPSProvider.dll

See also

DnsServerPSProvider Provider