次の方法で共有


AddByRoot method of the PS_DnsServerTrustAnchor class

Adds a trust anchor DNSKEY record. If there is no trust anchor zone present, the cmdlet should create one. If neither SecureEntryPoint nor ZoneSigningKey are specified, then the cmdlet creates a trust anchor with SEP bit set.

Syntax

uint32 AddByRoot(
  [in]  string               ComputerName,
  [in]  boolean              PassThru,
  [in]  boolean              Root,
  [out] DnsServerTrustAnchor cmdletOutput
);

Parameters

ComputerName [in]

Optional DNS server name.

PassThru [in]

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

Root [in]

The root.

cmdletOutput [out]

An embedded instance of the DnsServerTrustAnchor class.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerTrustAnchor