LdapConnection 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
LdapConnection 클래스의 인스턴스를 만듭니다.
오버로드
| Name | Description |
|---|---|
| LdapConnection(LdapDirectoryIdentifier) |
LdapConnection(LdapDirectoryIdentifier) 생성자는 지정된 디렉터리 식별자를 사용하여 LdapConnection 클래스의 인스턴스를 만듭니다. 로그온 자격 증명 및 협상 인증은 LDAP 서버에 연결하는 데 사용됩니다. |
| LdapConnection(String) |
LdapConnection(String) 생성자는 지정된 서버를 사용하여 LdapConnection 클래스의 인스턴스를 만듭니다. |
| LdapConnection(LdapDirectoryIdentifier, NetworkCredential) |
LdapConnection(LdapDirectoryIdentifier, NetworkCredential) 생성자는 지정된 디렉터리 식별자 및 네트워크 자격 증명을 사용하여 LdapConnection 클래스의 인스턴스를 만듭니다. 인증 협상이 사용됩니다. |
| LdapConnection(LdapDirectoryIdentifier, NetworkCredential, AuthType) |
LdapConnection(LdapDirectoryIdentifier, NetworkCredential, AuthType) 생성자는 지정된 디렉터리 식별자, 네트워크 자격 증명 및 인증 유형을 사용하여 LdapConnection 클래스의 인스턴스를 만듭니다. |
LdapConnection(LdapDirectoryIdentifier)
LdapConnection(LdapDirectoryIdentifier) 생성자는 지정된 디렉터리 식별자를 사용하여 LdapConnection 클래스의 인스턴스를 만듭니다. 로그온 자격 증명 및 협상 인증은 LDAP 서버에 연결하는 데 사용됩니다.
public:
LdapConnection(System::DirectoryServices::Protocols::LdapDirectoryIdentifier ^ identifier);
public LdapConnection(System.DirectoryServices.Protocols.LdapDirectoryIdentifier identifier);
new System.DirectoryServices.Protocols.LdapConnection : System.DirectoryServices.Protocols.LdapDirectoryIdentifier -> System.DirectoryServices.Protocols.LdapConnection
Public Sub New (identifier As LdapDirectoryIdentifier)
매개 변수
- identifier
- LdapDirectoryIdentifier
LdapDirectoryIdentifier 서버를 지정하는 개체입니다.
예외
연결 블록을 만들거나 서버에 대한 연결을 열지 못했습니다.
적용 대상
LdapConnection(String)
LdapConnection(String) 생성자는 지정된 서버를 사용하여 LdapConnection 클래스의 인스턴스를 만듭니다.
public:
LdapConnection(System::String ^ server);
public LdapConnection(string server);
new System.DirectoryServices.Protocols.LdapConnection : string -> System.DirectoryServices.Protocols.LdapConnection
Public Sub New (server As String)
매개 변수
- server
- String
도메인 이름, LDAP 서버 이름 또는 LDAP 서버의 IP 주소를 나타내는 점선 문자열일 수 있는 서버를 지정하는 문자열입니다. 필요에 따라 이 매개 변수는 문자열의 오른쪽 끝과 콜론(:) 구분된 포트 번호를 포함할 수도 있습니다.
예외
연결 블록을 만들거나 서버에 대한 연결을 열지 못했습니다.
적용 대상
LdapConnection(LdapDirectoryIdentifier, NetworkCredential)
LdapConnection(LdapDirectoryIdentifier, NetworkCredential) 생성자는 지정된 디렉터리 식별자 및 네트워크 자격 증명을 사용하여 LdapConnection 클래스의 인스턴스를 만듭니다. 인증 협상이 사용됩니다.
public:
LdapConnection(System::DirectoryServices::Protocols::LdapDirectoryIdentifier ^ identifier, System::Net::NetworkCredential ^ credential);
public LdapConnection(System.DirectoryServices.Protocols.LdapDirectoryIdentifier identifier, System.Net.NetworkCredential credential);
new System.DirectoryServices.Protocols.LdapConnection : System.DirectoryServices.Protocols.LdapDirectoryIdentifier * System.Net.NetworkCredential -> System.DirectoryServices.Protocols.LdapConnection
Public Sub New (identifier As LdapDirectoryIdentifier, credential As NetworkCredential)
매개 변수
- identifier
- LdapDirectoryIdentifier
LdapDirectoryIdentifier 서버를 지정하는 개체입니다.
- credential
- NetworkCredential
NetworkCredential 사용할 자격 증명을 지정하는 개체입니다.
예외
연결 블록을 만들거나 서버에 대한 연결을 열지 못했습니다.
적용 대상
LdapConnection(LdapDirectoryIdentifier, NetworkCredential, AuthType)
LdapConnection(LdapDirectoryIdentifier, NetworkCredential, AuthType) 생성자는 지정된 디렉터리 식별자, 네트워크 자격 증명 및 인증 유형을 사용하여 LdapConnection 클래스의 인스턴스를 만듭니다.
public:
LdapConnection(System::DirectoryServices::Protocols::LdapDirectoryIdentifier ^ identifier, System::Net::NetworkCredential ^ credential, System::DirectoryServices::Protocols::AuthType authType);
public LdapConnection(System.DirectoryServices.Protocols.LdapDirectoryIdentifier identifier, System.Net.NetworkCredential credential, System.DirectoryServices.Protocols.AuthType authType);
new System.DirectoryServices.Protocols.LdapConnection : System.DirectoryServices.Protocols.LdapDirectoryIdentifier * System.Net.NetworkCredential * System.DirectoryServices.Protocols.AuthType -> System.DirectoryServices.Protocols.LdapConnection
Public Sub New (identifier As LdapDirectoryIdentifier, credential As NetworkCredential, authType As AuthType)
매개 변수
- identifier
- LdapDirectoryIdentifier
LdapDirectoryIdentifier 서버를 지정하는 개체입니다.
- credential
- NetworkCredential
NetworkCredential 사용할 자격 증명을 지정하는 개체입니다.
예외
연결 블록을 만들거나 서버에 대한 연결을 열지 못했습니다.
authType 가 범위를 벗어났습니다.
authType 은 익명이지만 credential 지정된 자격 증명으로 지정됩니다.