Forest.GetAllTrustRelationships 메서드


현재 포리스트에 대한 트러스트 관계의 컬렉션을 가져옵니다.Gets a collection of the trust relationships of the current forest.

 System::DirectoryServices::ActiveDirectory::TrustRelationshipInformationCollection ^ GetAllTrustRelationships();
public System.DirectoryServices.ActiveDirectory.TrustRelationshipInformationCollection GetAllTrustRelationships ();
member this.GetAllTrustRelationships : unit -> System.DirectoryServices.ActiveDirectory.TrustRelationshipInformationCollection
Public Function GetAllTrustRelationships () As TrustRelationshipInformationCollection


현재 TrustRelationshipInformationCollection의 트러스트 관계를 나타내는 TrustRelationshipInformation 개체를 포함하는 Forest 컬렉션입니다.A TrustRelationshipInformationCollection collection that contains TrustRelationshipInformation objects that represents trust relationships of the current Forest.


기본 디렉터리 서비스에 대한 호출에서 오류가 발생했습니다.A call to the underlying directory service resulted in an error.

대상 서버를 사용 중이거나 사용할 수 없습니다.The target server is either busy or unavailable.

개체가 삭제되었습니다.The object has been disposed.

지정된 계정에 이 작업을 수행할 수 있는 권한이 없습니다.The specified account does not have permission to perform this operation.

적용 대상

추가 정보