1 type derived from TrustRelationshipInformation
System.DirectoryServices (1)
System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs (1)
11public class ForestTrustRelationshipInformation : TrustRelationshipInformation
1 instantiation of TrustRelationshipInformation
System.DirectoryServices (1)
System\DirectoryServices\ActiveDirectory\TrustRelationshipInformationCollection.cs (1)
23TrustRelationshipInformation info = new TrustRelationshipInformation(context, source, obj);
25 references to TrustRelationshipInformation
System.DirectoryServices (24)
System\DirectoryServices\ActiveDirectory\Domain.cs (7)
497public TrustRelationshipInformation GetTrustRelationship(string targetDomainName) 512throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.DomainTrustDoesNotExist, Name, targetDomainName), typeof(TrustRelationshipInformation), null); 633throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, Name, targetDomain.Name, direction), typeof(TrustRelationshipInformation), null); 646throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, Name, targetDomain.Name, direction), typeof(TrustRelationshipInformation), null); 807throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, Name, targetDomain.Name, direction), typeof(TrustRelationshipInformation), null); 1451throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, Name, targetDomain.Name, direction), typeof(TrustRelationshipInformation), null); 1464throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, Name, targetDomain.Name, direction), typeof(TrustRelationshipInformation), null);
System\DirectoryServices\ActiveDirectory\Forest.cs (2)
329throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ForestTrustDoesNotExist, Name, targetForestName), typeof(TrustRelationshipInformation), null); 1139TrustRelationshipInformation trust = new ForestTrustRelationshipInformation(_context, Name, unmanagedTrust, TrustType.Forest);
System\DirectoryServices\ActiveDirectory\TrustHelper.cs (8)
63throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null); 158throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null); 284throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null); 596throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null); 725throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null); 842throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null); 865throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, sourceName, targetName, (TrustDirection)direction), typeof(TrustRelationshipInformation), null); 891throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongForestTrust, sourceName, targetName), typeof(TrustRelationshipInformation), null);
System\DirectoryServices\ActiveDirectory\TrustRelationshipInformationCollection.cs (7)
23TrustRelationshipInformation info = new TrustRelationshipInformation(context, source, obj); 28public TrustRelationshipInformation this[int index] 30get => (TrustRelationshipInformation)InnerList[index]!; 33public bool Contains(TrustRelationshipInformation information) 41public int IndexOf(TrustRelationshipInformation information) 49public void CopyTo(TrustRelationshipInformation[] array, int index) 54internal int Add(TrustRelationshipInformation info) => InnerList.Add(info);
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\AD\ADUtils.cs (1)
463TrustRelationshipInformation TRI = currentDom.GetTrustRelationship(targetDomain);