LdapProviderGetReferralConnectionAsync - метод |
Получает адрес referral сервера
Пространство имён:
Tessa.Extensions.Platform.Server.AdSync
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public virtual ValueTask<LdapUrl> GetReferralConnectionAsync(
ILdapContext context,
AdConnection conn,
string distinguishedName,
CancellationToken cancellationToken = default
)
Public Overridable Function GetReferralConnectionAsync (
context As ILdapContext,
conn As AdConnection,
distinguishedName As String,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of LdapUrl)
public:
virtual ValueTask<LdapUrl^> GetReferralConnectionAsync(
ILdapContext^ context,
AdConnection^ conn,
String^ distinguishedName,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetReferralConnectionAsync :
context : ILdapContext *
conn : AdConnection *
distinguishedName : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<LdapUrl>
override GetReferralConnectionAsync :
context : ILdapContext *
conn : AdConnection *
distinguishedName : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<LdapUrl>
Параметры
- context
- Тип: Tessa.Extensions.Platform.Server.AdSyncILdapContext
- conn
- Тип: Tessa.Extensions.Platform.Server.AdSyncAdConnection
Основное соединение - distinguishedName
- Тип: SystemString
DN referral сервера - cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
ValueTaskLdapUrlРеализации
ILdapProviderGetReferralConnectionAsync(ILdapContext, AdConnection, String, CancellationToken)См. также