This documentation is archived and is not being maintained.

DeleteItemType.AffectedTaskOccurrences Property

The AffectedTaskOccurrences property gets or sets an enumeration value that indicates whether a task instance or task master is deleted. This property is required when tasks are deleted. This is a read/write property.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

public AffectedTaskOccurrencesType AffectedTaskOccurrences { get; set; }

Property Value

Type: ExchangeWebServices.AffectedTaskOccurrencesType
The AffectedTaskOccurrences property returns an AffectedTaskOccurrencesType enumeration value that represents whether a task instance or task master is deleted.

You must set the AffectedTaskOccurrencesSpecified property to true so that the AffectedTaskOccurrences property is serialized into the Simple Object Access Protocol (SOAP) request. This property does not have to be set to delete items that are not of the TaskType class.