QueryForConnectionCallback 대리자

정의

QueryForConnectionCallback 대리자는 사용할 수 있는 캐시된 연결이 있는지 여부를 확인합니다.

public delegate System::DirectoryServices::Protocols::LdapConnection ^ QueryForConnectionCallback(LdapConnection ^ primaryConnection, LdapConnection ^ referralFromConnection, System::String ^ newDistinguishedName, LdapDirectoryIdentifier ^ identifier, NetworkCredential ^ credential, long currentUserToken);
public delegate System.DirectoryServices.Protocols.LdapConnection QueryForConnectionCallback(LdapConnection primaryConnection, LdapConnection referralFromConnection, string newDistinguishedName, LdapDirectoryIdentifier identifier, NetworkCredential credential, long currentUserToken);
type QueryForConnectionCallback = delegate of LdapConnection * LdapConnection * string * LdapDirectoryIdentifier * NetworkCredential * int64 -> LdapConnection
Public Delegate Function QueryForConnectionCallback(primaryConnection As LdapConnection, referralFromConnection As LdapConnection, newDistinguishedName As String, identifier As LdapDirectoryIdentifier, credential As NetworkCredential, currentUserToken As Long) As LdapConnection 

매개 변수

primaryConnection
LdapConnection

기본 연결을 지정하는 LdapConnection 개체입니다.

referralFromConnection
LdapConnection

조회를 제공하는 연결을 지정하는 LdapConnection 개체입니다.

newDistinguishedName
String

참조된 서버에 있는 원하는 항목의 DN(고유 이름)을 지정하는 String 개체입니다.

identifier
LdapDirectoryIdentifier

참조된 LDAP 디렉터리의 식별자를 지정하는 LdapDirectoryIdentifier 개체입니다.

credential
NetworkCredential

참조된 서버에 전달할 자격 증명을 지정하는 NetworkCredential 개체입니다.

currentUserToken
Int64

현재 사용자의 LUID입니다.

반환 값

사용할 수 있는 캐시된 LdapConnection이 있으면 반환됩니다. 사용할 수 있는 캐시된 연결이 없으면 NULL이 반환됩니다.

확장 메서드

GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.

적용 대상