ILdapUnitProviderCreateOrUpdateUnitAsync - метод |
Пространство имён:
Tessa.Extensions.Platform.Server.AdSync
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис Task<bool> CreateOrUpdateUnitAsync(
IAdSyncContext syncContext,
AdConnection conn,
AdEntry unit,
Guid? parentObjectGuid,
string parentObjectName,
bool updateUser,
List<AdEntry> users = null,
CancellationToken cancellationToken = default
)
Function CreateOrUpdateUnitAsync (
syncContext As IAdSyncContext,
conn As AdConnection,
unit As AdEntry,
parentObjectGuid As Guid?,
parentObjectName As String,
updateUser As Boolean,
Optional users As List(Of AdEntry) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
Task<bool>^ CreateOrUpdateUnitAsync(
IAdSyncContext^ syncContext,
AdConnection^ conn,
AdEntry^ unit,
Nullable<Guid> parentObjectGuid,
String^ parentObjectName,
bool updateUser,
List<AdEntry^>^ users = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract CreateOrUpdateUnitAsync :
syncContext : IAdSyncContext *
conn : AdConnection *
unit : AdEntry *
parentObjectGuid : Nullable<Guid> *
parentObjectName : string *
updateUser : bool *
?users : List<AdEntry> *
?cancellationToken : CancellationToken
(* Defaults:
let _users = defaultArg users null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
Параметры
- syncContext
- Тип: Tessa.Extensions.Platform.Server.AdSyncIAdSyncContext
- conn
- Тип: Tessa.Extensions.Platform.Server.AdSyncAdConnection
- unit
- Тип: Tessa.Extensions.Platform.Server.AdSyncAdEntry
- parentObjectGuid
- Тип: SystemNullableGuid
- parentObjectName
- Тип: SystemString
- updateUser
- Тип: SystemBoolean
- users (Optional)
- Тип: System.Collections.GenericListAdEntry
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskBooleanСм. также