Domain.UpdateLocalSideOfTrustRelationship 메서드

정의

트러스트 관계의 로컬 쪽을 업데이트합니다.

오버로드

Name Description
UpdateLocalSideOfTrustRelationship(String, String)

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

UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)

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

UpdateLocalSideOfTrustRelationship(String, String)

Source:
Domain.cs
Source:
Domain.cs
Source:
Domain.cs
Source:
Domain.cs
Source:
Domain.cs
Source:
Domain.cs
Source:
Domain.cs

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

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

매개 변수

targetDomainName
String

트러스트가 있는 도메인의 DNS 이름입니다.

newTrustPassword
String

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

예외

에 의해 targetDomainName지정된 도메인과 트러스트 관계가 없습니다.

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

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

targetDomainName 또는 newTrustPassword 빈 문자열입니다.

targetDomainName 또는 newTrustPassword .입니다 null.

개체가 삭제되었습니다.

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

설명

트러스트를 다시 설정하려면 트러스트의 양쪽을 동일한 암호로 업데이트해야 합니다.

적용 대상

UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)

Source:
Domain.cs
Source:
Domain.cs
Source:
Domain.cs
Source:
Domain.cs
Source:
Domain.cs
Source:
Domain.cs
Source:
Domain.cs

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

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

매개 변수

targetDomainName
String

트러스트가 있는 도메인의 DNS 이름입니다.

newTrustDirection
TrustDirection

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

newTrustPassword
String

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

예외

매개 변수로 지정된 targetDomainName 도메인과 트러스트 관계가 없습니다.

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

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

targetDomainName 또는 newTrustPassword 빈 문자열입니다.

targetDomainName 또는 newTrustPassword .입니다 null.

newTrustDirection 가 유효한 TrustDirection 값이 아닌 경우

개체가 삭제되었습니다.

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

추가 정보

적용 대상