ILdapProviderGetMainConnectionAsync - метод |
Пространство имён:
Tessa.Extensions.Platform.Server.AdSync
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис ValueTask<AdConnection> GetMainConnectionAsync(
ILdapContext context,
bool alwaysCreateNew = false,
CancellationToken cancellationToken = default
)
Function GetMainConnectionAsync (
context As ILdapContext,
Optional alwaysCreateNew As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of AdConnection)
ValueTask<AdConnection^> GetMainConnectionAsync(
ILdapContext^ context,
bool alwaysCreateNew = false,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetMainConnectionAsync :
context : ILdapContext *
?alwaysCreateNew : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _alwaysCreateNew = defaultArg alwaysCreateNew false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<AdConnection>
Параметры
- context
- Тип: Tessa.Extensions.Platform.Server.AdSyncILdapContext
- alwaysCreateNew (Optional)
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
ValueTaskAdConnectionСм. также