IADsNTPolicy Method: RemoveTrustedDomain

RemoveTrustedDomain
(
 TrustedDomainName  As String
);

Parameters

[in] String TrustedDomainName
Name of a domain to be removed from the list of trusted domains for a computer

Description
Removes a domain name from the list of trusted domains for a computer

Example

Dim Policy As IADsNTPolicy
Set Policy = GetObject("NTDS://DomainName1/MachineName")
Policy.RemoveTrustedDomain ("AnotherDomain")

 

See Also