IDomainTrustManagement Method: RemoveTrustedDomain

RemoveTrustedDomain
(
 TrustedDomain As String
);

Parameters

[in] String TrustedDomain
Name of the domain that has to be removed from the list of trusted domains.

Description
Deletes the given domain from the list of trusted domains.

Example

Dim Trust As IDomainTrustManagement
'Get the interface.
Set Trust = GetObject ("NTDS://DomainName")
'Call the RemoveTrustedDomain method
Trust.RemoveTrustedDomain "TrustingDomainName"

 

See Also