ExchangeServiceDeleteItems(IEnumerableItemId, DeleteMode, NullableSendCancellationsMode, NullableAffectedTaskOccurrence) - метод |
Deletes multiple items in a single call to EWS.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public Task<ServiceResponseCollection<ServiceResponse>> DeleteItems(
IEnumerable<ItemId> itemIds,
DeleteMode deleteMode,
SendCancellationsMode? sendCancellationsMode,
AffectedTaskOccurrence? affectedTaskOccurrences
)
Public Function DeleteItems (
itemIds As IEnumerable(Of ItemId),
deleteMode As DeleteMode,
sendCancellationsMode As SendCancellationsMode?,
affectedTaskOccurrences As AffectedTaskOccurrence?
) As Task(Of ServiceResponseCollection(Of ServiceResponse))
public:
Task<ServiceResponseCollection<ServiceResponse^>^>^ DeleteItems(
IEnumerable<ItemId^>^ itemIds,
DeleteMode deleteMode,
Nullable<SendCancellationsMode> sendCancellationsMode,
Nullable<AffectedTaskOccurrence> affectedTaskOccurrences
)
member DeleteItems :
itemIds : IEnumerable<ItemId> *
deleteMode : DeleteMode *
sendCancellationsMode : Nullable<SendCancellationsMode> *
affectedTaskOccurrences : Nullable<AffectedTaskOccurrence> -> Task<ServiceResponseCollection<ServiceResponse>>
Параметры
- itemIds
- Тип: System.Collections.GenericIEnumerableItemId
The Ids of the items to delete. - deleteMode
- Тип: Tessa.Exchange.WebServices.DataDeleteMode
The deletion mode. - sendCancellationsMode
- Тип: SystemNullableSendCancellationsMode
Indicates whether cancellation messages should be sent. Required if any of the item Ids represents an Appointment. - affectedTaskOccurrences
- Тип: SystemNullableAffectedTaskOccurrence
Indicates which instance of a recurring task should be deleted. Required if any of the item Ids represents a Task.
Возвращаемое значение
Тип:
TaskServiceResponseCollectionServiceResponseA ServiceResponseCollection providing deletion results for each of the specified item Ids.
См. также