IDomainTrustManagement Method: RemoveTrust

RemoveTrust
(
 TrustedDomain As String
);

Parameters

[in] StringTrustedDomain
Domain name with which trust relationship is to be removed.

Description
Removes the existing trust relationship between the given domain and the current domain.

Example

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

 

See Also