1 instantiation of ForestTrustRelationshipInformation
System.DirectoryServices (1)
System\DirectoryServices\ActiveDirectory\Forest.cs (1)
1139
TrustRelationshipInformation trust = new
ForestTrustRelationshipInformation
(_context, Name, unmanagedTrust, TrustType.Forest);
16 references to ForestTrustRelationshipInformation
System.DirectoryServices (15)
System\DirectoryServices\ActiveDirectory\Forest.cs (7)
310
public
ForestTrustRelationshipInformation
GetTrustRelationship(string targetForestName)
324
return (
ForestTrustRelationshipInformation
)collection[0];
445
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, Name, targetForest.Name, direction), typeof(
ForestTrustRelationshipInformation
), null);
458
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, Name, targetForest.Name, direction), typeof(
ForestTrustRelationshipInformation
), null);
616
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, Name, targetForest.Name, direction), typeof(
ForestTrustRelationshipInformation
), null);
1175
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, Name, targetForest.Name, direction), typeof(
ForestTrustRelationshipInformation
), null);
1188
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, Name, targetForest.Name, direction), typeof(
ForestTrustRelationshipInformation
), null);
System\DirectoryServices\ActiveDirectory\TrustHelper.cs (8)
61
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(
ForestTrustRelationshipInformation
), null);
156
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(
ForestTrustRelationshipInformation
), null);
282
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(
ForestTrustRelationshipInformation
), null);
594
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(
ForestTrustRelationshipInformation
), null);
723
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(
ForestTrustRelationshipInformation
), null);
840
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(
ForestTrustRelationshipInformation
), null);
863
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.WrongTrustDirection, sourceName, targetName, (TrustDirection)direction), typeof(
ForestTrustRelationshipInformation
), null);
883
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(
ForestTrustRelationshipInformation
), null);
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\AD\ADUtils.cs (1)
481
ForestTrustRelationshipInformation
FTC = currentForest.GetTrustRelationship(targetdom.Forest.Name);