Share via


ImportByKeySet method of the PS_DnsServerTrustAnchor class

Imports DNS server Trust anchors from specified files.

Syntax

uint32 ImportByKeySet(
  [in]  string               ComputerName,
  [in]  string               KeySetFile,
  [in]  boolean              PassThru,
  [out] DnsServerTrustAnchor cmdletOutput[]
);

Parameters

ComputerName [in]

Optional DNS server name. 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.

KeySetFile [in]

File path of the keyset file.

PassThru [in]

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

cmdletOutput [out]

Receives and embedded instance of the DnsServerTrustAnchor 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_DnsServerTrustAnchor