RemoveItem

The RemoveItem element represents a response object that is used to remove a meeting item when a MeetingCancellation message is received.

<RemoveItem ObjectName="">
   <ReferenceItemId/>
</RemoveItem>

RemoveItemType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
ObjectName
Represents the name of the RemoveItem reply object class as an English string.

Child elements

Element Description
ReferenceItemId
Identifies the item to which the RemoveItem response object refers.

Parent elements

Element Description
Items (NonEmptyArrayOfAllItemsType)
Contains an array of items to create in the folder that is identified by the ParentFolderId (TargetFolderIdType) element.
ResponseObjects
Contains a collection of all the response objects that are associated with an item in the Exchange store.

Remarks

RemoveItem is valid only for a MeetingCancellation. Otherwise, an error is thrown.

Note

The ItemClass for a meeting cancellation is IPM.Schedule.Meeting.Canceled.

To remove a MeetingRequest and the associated CalendarItem, use the DeclineItem response object instead of RemoveItem.

RemoveItem is not supported for delegate access.

The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Element information

Name Value
Namespace
https://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
False

See also