Partager via


DnsServerGlobalQueryBlockList class

Represents a global query block list on 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 DnsServerGlobalQueryBlockList
{
  string  List[];
  boolean Enable;
};

Members

The DnsServerGlobalQueryBlockList class has these types of members:

Properties

The DnsServerGlobalQueryBlockList class has these properties.

Enable

Data type: boolean

Access type: Read/write

True to enable the block list; otherwise, false.

List

Data type: string array

Access type: Read/write

An array that contains the items on block list.

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