ExchangeServiceBindToGroupItems - метод |
Binds to multiple items in a single call to EWS.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public Task<ServiceResponseCollection<GetItemResponse>> BindToGroupItems(
IEnumerable<ItemId> itemIds,
PropertySet propertySet,
string anchorMailbox,
CancellationToken token = default
)
Public Function BindToGroupItems (
itemIds As IEnumerable(Of ItemId),
propertySet As PropertySet,
anchorMailbox As String,
Optional token As CancellationToken = Nothing
) As Task(Of ServiceResponseCollection(Of GetItemResponse))
public:
Task<ServiceResponseCollection<GetItemResponse^>^>^ BindToGroupItems(
IEnumerable<ItemId^>^ itemIds,
PropertySet^ propertySet,
String^ anchorMailbox,
CancellationToken token = CancellationToken()
)
member BindToGroupItems :
itemIds : IEnumerable<ItemId> *
propertySet : PropertySet *
anchorMailbox : string *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ServiceResponseCollection<GetItemResponse>>
Параметры
- itemIds
- Тип: System.Collections.GenericIEnumerableItemId
The Ids of the items to bind to. - propertySet
- Тип: Tessa.Exchange.WebServices.DataPropertySet
The set of properties to load. - anchorMailbox
- Тип: SystemString
The SmtpAddress of mailbox that hosts all items we need to bind to - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskServiceResponseCollectionGetItemResponseA ServiceResponseCollection providing results for each of the specified item Ids.
Заметки
This API designed to be used primarily in groups scenarios where we want to set the
anchor mailbox header so that request is routed directly to the group mailbox backend server.
См. также