Compartilhar via


Remove method of the PS_DnsServerRecursionScope class

Deletes a recursion scope from a DNS server.

Syntax

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

Parameters

Name [in]

The name of the scope.

PassThru [in]

True to return the deleted recursion scope object in the cmdletOutput parameter; otherwise, false.

Force [in]

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

ComputerName [in]

The name of the DNS server. The acceptable values for this parameter are: an IPv4 address; an IPv6 address; and any other value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NETBIOS name.

cmdletOutput [out]

When this method returns, this parameter contains an array that contains the deleted recursion scope object.

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

PS_DnsServerRecursionScope