Freigeben über


AddByParameters method of the PS_DnsServerRootHint class

Add a root hint to a DNS server based on the specified parameters.

Syntax

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

Parameters

IPAddress [in]

The IPv4/IPv6 address of the Name server.

NameServer [in]

The name server.

ComputerName [in]

The remote computer on which to execute the command

PassThru [in]

Specifies whether the method returns an object that represents the item with which you are working. By default, this method does not generate any output.

cmdletOutput [out]

On return, contains an embedded instance of the DnsServerRootHint class.

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