IDomainTrustManagement Method: RemoveTrustingDomain

RemoveTrustingDomain
(
 TrustingDomain As String
);

Parameters

[in] String TrustingDomain
Name of the domain that has to be deleted from the list of trusting domains.

Description
Removes the given domain from the list of trusting domains of the current domain.

Example

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

 

See Also