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