ExchangeServiceAddDelegates(Mailbox, NullableMeetingRequestsDeliveryScope, IEnumerableDelegateUser, CancellationToken) - метод
Adds delegates to a specific mailbox. Calling this method results in a call to EWS.
Пространство имён: Tessa.Exchange.WebServices.DataСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
public Task<Collection<DelegateUserResponse>> AddDelegates(
Mailbox mailbox,
MeetingRequestsDeliveryScope? meetingRequestsDeliveryScope,
IEnumerable<DelegateUser> delegateUsers,
CancellationToken token = default
)
Public Function AddDelegates (
mailbox As Mailbox,
meetingRequestsDeliveryScope As MeetingRequestsDeliveryScope?,
delegateUsers As IEnumerable(Of DelegateUser),
Optional token As CancellationToken = Nothing
) As Task(Of Collection(Of DelegateUserResponse))
public:
Task<Collection<DelegateUserResponse^>^>^ AddDelegates(
Mailbox^ mailbox,
Nullable<MeetingRequestsDeliveryScope> meetingRequestsDeliveryScope,
IEnumerable<DelegateUser^>^ delegateUsers,
CancellationToken token = CancellationToken()
)
member AddDelegates :
mailbox : Mailbox *
meetingRequestsDeliveryScope : Nullable<MeetingRequestsDeliveryScope> *
delegateUsers : IEnumerable<DelegateUser> *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<Collection<DelegateUserResponse>>
- mailbox Mailbox
- The mailbox to add delegates to.
- meetingRequestsDeliveryScope NullableMeetingRequestsDeliveryScope
- Indicates how meeting requests should be sent to delegates.
- delegateUsers IEnumerableDelegateUser
- The delegate users to add.
- token CancellationToken (Optional)
-
TaskCollectionDelegateUserResponseA collection of DelegateUserResponse objects providing the results of the operation.