Share via


PS_DnsServerDirectoryPartition class

DNS Server Directory Partition definition.

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

Members

The PS_DnsServerDirectoryPartition class has these types of members:

Methods

The PS_DnsServerDirectoryPartition class has these methods.

Method Description
AddByName Create a DNS application directory partition.
AddByType Create a DNS application directory partition.
GetByCustom Retrieve DNS server directory partition.
GetByName Retrieve DNS server directory partition.
Register Adds the DNS server to the specified directory partition's replica set. This operation allows application directory partitions to be added to from the Application Directory Partition Table, and also allows the DNS server to be directed to add itself from the replication scope of an existing application directory partition.
Remove Remove a directory partition.
Unregister Un Enlist a server from Directory partition. This operation allows application directory partitions to be deleted from the Application Directory Partition Table, and also allows the DNS server to be directed to remove itself from the replication scope of an existing application directory partition.

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