Partager via


Remove method of the PS_DnsServerDirectoryPartition class

Remove a directory partition.

Syntax

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

Parameters

Name [in]

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

ComputerName [in]

Specifies the remote computer on which to execute the command.

PassThru [in]

If specified, returns the object or objects on which the operation was done.

Force [in]

If specified, overrides the default confirmation before performing the operation.

cmdletOutput [out]

On return, contains an embedded 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