Domain.GetSelectiveAuthenticationStatus(String) 메서드

정의

인바운드 트러스트의 인증 형식을 확인합니다.

public:
 bool GetSelectiveAuthenticationStatus(System::String ^ targetDomainName);
public bool GetSelectiveAuthenticationStatus (string targetDomainName);
member this.GetSelectiveAuthenticationStatus : string -> bool
Public Function GetSelectiveAuthenticationStatus (targetDomainName As String) As Boolean

매개 변수

targetDomainName
String

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

반환

트러스트의 인증이 선택적이면 true이고, 인증이 도메인 전체에 해당되면 false입니다.

예외

targetForestName 매개 변수로 지정된 Forest와의 트러스트 관계가 없습니다.

에 대한 LsaQueryTrustedDomainInfoByName 호출이 실패했습니다. 자세한 내용은 LsaQueryTrustedDomainInfoByName을 참조하세요.

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

targetDomainName이 빈 문자열인 경우

targetDomainName이(가) null인 경우

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

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

적용 대상

추가 정보