QueryForConnectionCallback Delegat

Definicja

Delegat określa, czy jest dostępne QueryForConnectionCallback połączenie buforowane do użycia.

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 

Parametry

primaryConnection
LdapConnection

Obiekt LdapConnection określający połączenie podstawowe.

referralFromConnection
LdapConnection

Obiekt LdapConnection określający połączenie, które udostępnia polecenie .

newDistinguishedName
String

Obiekt String określający nazwę wyróżniającą (DN) żądanego wpisu na określonym serwerze.

identifier
LdapDirectoryIdentifier

Obiekt LdapDirectoryIdentifier określający identyfikator dla katalogu LDAP, do której się odnosi.

credential
NetworkCredential

Obiekt NetworkCredential określający poświadczenia do przekazania do określonego serwera.

currentUserToken
Int64

Identyfikator LUID bieżącego użytkownika.

Wartość zwracana

LdapConnection

Jeśli jest LdapConnection dostępna, jest zwracana pamięć podręczna. Jeśli połączenie z pamięcią podręczną nie jest dostępne, NULL zwracana jest.

Metody rozszerzania

GetMethodInfo(Delegate)

Pobiera obiekt reprezentujący metodę reprezentowaną przez określonego delegata.

Dotyczy