Share via


Forest.UpdateLocalSideOfTrustRelationship 메서드

정의

트러스트 관계의 로컬 측에 대한 암호를 업데이트합니다.

오버로드

UpdateLocalSideOfTrustRelationship(String, String)

트러스트 관계의 로컬 측에 대한 암호를 업데이트합니다.

UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)

트러스트 관계의 로컬 측에 대한 암호 및 트러스트 방향을 업데이트합니다.

UpdateLocalSideOfTrustRelationship(String, String)

Source:
Forest.cs
Source:
Forest.cs
Source:
Forest.cs

트러스트 관계의 로컬 측에 대한 암호를 업데이트합니다.

public:
 void UpdateLocalSideOfTrustRelationship(System::String ^ targetForestName, System::String ^ newTrustPassword);
public void UpdateLocalSideOfTrustRelationship (string targetForestName, string newTrustPassword);
member this.UpdateLocalSideOfTrustRelationship : string * string -> unit
Public Sub UpdateLocalSideOfTrustRelationship (targetForestName As String, newTrustPassword As String)

매개 변수

targetForestName
String

로컬 트러스트 암호를 변경할 Forest 개체의 이름입니다.

newTrustPassword
String

트러스트 관계의 새 암호입니다.

예외

targetForestName에 지정된 포리스트와 트러스트 관계가 없는 경우

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

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

targetForestName 또는 newTrustPassword가 빈 문자열입니다.

targetForestName 또는 newTrustPasswordnull인 경우

개체가 삭제되었습니다.

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

추가 정보

적용 대상

UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)

Source:
Forest.cs
Source:
Forest.cs
Source:
Forest.cs

트러스트 관계의 로컬 측에 대한 암호 및 트러스트 방향을 업데이트합니다.

public:
 void UpdateLocalSideOfTrustRelationship(System::String ^ targetForestName, System::DirectoryServices::ActiveDirectory::TrustDirection newTrustDirection, System::String ^ newTrustPassword);
public void UpdateLocalSideOfTrustRelationship (string targetForestName, System.DirectoryServices.ActiveDirectory.TrustDirection newTrustDirection, string newTrustPassword);
member this.UpdateLocalSideOfTrustRelationship : string * System.DirectoryServices.ActiveDirectory.TrustDirection * string -> unit
Public Sub UpdateLocalSideOfTrustRelationship (targetForestName As String, newTrustDirection As TrustDirection, newTrustPassword As String)

매개 변수

targetForestName
String

로컬 트러스트 방향과 암호를 변경해야 하는 Forest 개체의 이름입니다.

newTrustDirection
TrustDirection

트러스트 관계의 새 트러스트 방향에 대한 TrustDirection 값입니다.

newTrustPassword
String

트러스트 관계의 새 암호입니다.

예외

targetForestName에 지정된 Forest 개체와 트러스트 관계가 없는 경우

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

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

targetForestName 또는 newTrustPassword가 빈 문자열입니다.

targetForestName 또는 newTrustPasswordnull인 경우

newTrustDirection 매개 변수가 유효한 TrustDirection 값이 아닌 경우

개체가 삭제되었습니다.

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

추가 정보

적용 대상