Freigeben über


RemoveByName method of the PS_DnsServerTrustAnchor class

Deletes the specified trust anchor.

Syntax

uint32 RemoveByName(
  [in]  string               ComputerName,
  [in]  string               Name,
  [in]  string               Type,
  [in]  boolean              Force,
  [in]  boolean              PassThru,
  [out] DnsServerTrustAnchor cmdletOutput[]
);

Parameters

ComputerName [in]

Optional DNS server name.

Name [in]

Name of the zone whose trust anchor needs to be removed.

Type [in]

Trust Anchor Type

Force [in]

If specified, overrides the default confirmation before performing the operation.

PassThru [in]

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

cmdletOutput [out]

On return, contains an instance of the current object. This parameter returns a value only if PassThru is set to true.

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