Forest.UpdateLocalSideOfTrustRelationship 메서드
정의
트러스트 관계의 로컬 측에 대한 암호를 업데이트합니다.Updates the password for the local side of a trust relationship.
오버로드
UpdateLocalSideOfTrustRelationship(String, String) |
트러스트 관계의 로컬 측에 대한 암호를 업데이트합니다.Updates the password for the local side of a trust relationship. |
UpdateLocalSideOfTrustRelationship(String, TrustDirection, String) |
트러스트 관계의 로컬 측에 대한 암호 및 트러스트 방향을 업데이트합니다.Updates the password and trust direction for the local side of a trust relationship. |
UpdateLocalSideOfTrustRelationship(String, String)
트러스트 관계의 로컬 측에 대한 암호를 업데이트합니다.Updates the password for the local side of a trust relationship.
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 개체의 이름입니다.The name of the Forest object for which the local trust password is to be changed.
- newTrustPassword
- String
트러스트 관계의 새 암호입니다.The new password for the trust relationship.
예외
targetForestName
에 지정된 포리스트와 트러스트 관계가 없는 경우There is no trust relationship with the forest that is specified by targetForestName
.
기본 디렉터리 서비스에 대한 호출에서 오류가 발생했습니다.A call to the underlying directory service resulted in an error.
대상 서버를 사용 중이거나 사용할 수 없습니다.The target server is either busy or unavailable.
targetForestName
또는 newTrustPassword
가 빈 문자열입니다.targetForestName
or newTrustPassword
is an empty string.
targetForestName
또는 newTrustPassword
가 null
인 경우targetForestName
or newTrustPassword
is null
.
개체가 삭제되었습니다.The object has been disposed.
지정된 계정에 이 작업을 수행할 수 있는 권한이 없습니다.The specified account does not have permission to perform this operation.
추가 정보
UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)
트러스트 관계의 로컬 측에 대한 암호 및 트러스트 방향을 업데이트합니다.Updates the password and trust direction for the local side of a trust relationship.
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 개체의 이름입니다.The name of the Forest object for which the local trust direction and password must be changed.
- newTrustDirection
- TrustDirection
트러스트 관계의 새 트러스트 방향에 대한 TrustDirection 값입니다.A TrustDirection value for the new trust direction for the trust relationship.
- newTrustPassword
- String
트러스트 관계의 새 암호입니다.The new password for the trust relationship.
예외
targetForestName
에 지정된 Forest 개체와 트러스트 관계가 없는 경우There is no trust relationship with the Forest object that is specified by targetForestName
.
기본 디렉터리 서비스에 대한 호출에서 오류가 발생했습니다.A call to the underlying directory service resulted in an error.
대상 서버를 사용 중이거나 사용할 수 없습니다.The target server is either busy or unavailable.
targetForestName
또는 newTrustPassword
가 빈 문자열입니다.targetForestName
or newTrustPassword
is an empty string.
targetForestName
또는 newTrustPassword
가 null
인 경우targetForestName
or newTrustPassword
is null
.
newTrustDirection
매개 변수가 유효한 TrustDirection 값이 아닌 경우The newTrustDirection
parameter is not a valid TrustDirection value.
개체가 삭제되었습니다.The object has been disposed.
지정된 계정에 이 작업을 수행할 수 있는 권한이 없습니다.The specified account does not have permission to perform this operation.