Forest.GetTrustRelationship(String) 메서드

정의

이 포리스트와 지정된 포리스트 간의 트러스트 관계를 가져옵니다.

public:
 System::DirectoryServices::ActiveDirectory::ForestTrustRelationshipInformation ^ GetTrustRelationship(System::String ^ targetForestName);
public System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipInformation GetTrustRelationship (string targetForestName);
member this.GetTrustRelationship : string -> System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipInformation
Public Function GetTrustRelationship (targetForestName As String) As ForestTrustRelationshipInformation

매개 변수

targetForestName
String

트러스트 관계 정보를 가져올 Forest 개체의 이름입니다.

반환

이 포리스트와 지정된 포리스트 간의 트러스트 관계를 나타내는 ForestTrustRelationshipInformation 개체입니다.

예외

targetForestName에 지정된 Forest과의 트러스트 관계가 없습니다.

기본 디렉터리 서비스에 대한 호출에서 오류가 발생했습니다.

대상 서버를 사용 중이거나 사용할 수 없습니다.

targetForestName이 빈 문자열인 경우

targetForestName이(가) null인 경우

현재 개체가 삭제되었습니다.

지정된 계정에 이 작업을 수행할 수 있는 권한이 없습니다.

적용 대상

추가 정보