Share via


Unregister method of the PS_DnsServerDirectoryPartition class

Remove 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.

Syntax

uint32 Unregister(
  [in]  string                      ComputerName,
  [in]  boolean                     PassThru,
  [in]  string                      Name,
  [in]  boolean                     Force,
  [out] DnsServerDirectoryPartition cmdletOutput
);

Parameters

ComputerName [in]

Specifies the remote computer on which to execute the command.

PassThru [in]

True to return the object that was modified by the method. By default, this method does not generate any output.

Name [in]

The fully qualified domain name of the DNS application directory partition that will be created.

Force [in]

true to not require user confirmation before continuing with the operation; false to require user confirmation. The default is false.

cmdletOutput [out]

On return, contains an instance of the current object. This parameter returns a value only if PassThru is set to true.

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

PS_DnsServerDirectoryPartition