CreateAttachmentType
extends BaseRequestType
in package
Defines a request to create an attachment to an item in the Exchange store.
Table of Contents
Properties
- $Attachments : ArrayOfAttachmentsType
- Contains the items or files to attach to an item in the Exchange store.
- $ParentItemId : ItemIdType
- Identifies the parent Exchange store item that contains the created attachment.
Methods
- __clone() : mixed
- Clones any object properties on a type object when it is cloned. Allows for a deep clone required when using object to represent data types when making a SOAP call.
Properties
$Attachments
Contains the items or files to attach to an item in the Exchange store.
public
ArrayOfAttachmentsType
$Attachments
Tags
$ParentItemId
Identifies the parent Exchange store item that contains the created attachment.
public
ItemIdType
$ParentItemId
The ParentItemId element must provide the ID of a real Exchange store item. Real store items can be retrieved by using the GetItem operation; attachments are retrieved by using the GetAttachment operation. An error occurs if the ParentItemId is passed the ID of a file attachment. If the ParentItemId represents the ID of an existing item attachment, the CreateAttachment operation adds the new attachment to the existing attachment.
This element is required.
The following item attachments can be created:
- Item
- Message
- CalendarItem
- Contact
- Task
- MeetingMessage
- MeetingRequest
Tags
Methods
__clone()
Clones any object properties on a type object when it is cloned. Allows for a deep clone required when using object to represent data types when making a SOAP call.
public
__clone() : mixed