次の方法で共有


RemoveByParameters method of the PS_DnsServerRootHint class

Removes root hints form the list on the server.

Syntax

uint32 RemoveByParameters(
  [in]  string            IPAddress[],
  [in]  string            NameServer,
  [in]  string            ComputerName,
  [in]  boolean           PassThru,
  [in]  boolean           Force,
  [out] DnsServerRootHint cmdletOutput
);

Parameters

IPAddress [in]

Specifies an array of IPv4 or IPv6 addresses of DNS servers to remove. If you do not specify IPAddress, this method removes all root hints on the specified DNS server.

NameServer [in]

Specifies name of root hint to be removed.

ComputerName [in]

Specifies a remote DNS server. The acceptable values for this parameter are: an IP address or any value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NETBIOS name.

PassThru [in]

Returns an object representing the item with which you are working. By default, this method does not generate any output.

Force [in]

Removes the root hints without prompting you for confirmation. By default, the method prompts you for confirmation before it proceeds.

cmdletOutput [out]

The output type is the type of the objects that the method emits.

Microsoft.Management.Infrastructure.CimInstance#DnsServerRootHint

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_DnsServerRootHint