Partager via


HasAttachments

Last modified: September 24, 2010

Applies to: Exchange Server 2007 | Exchange Server 2010

The HasAttachments element represents a property that is set to true if an item has at least one visible attachment or if a conversation contains at least one item that has an attachment. This property is read-only.

<HasAttachments/>

Boolean

Attributes and Elements

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

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

CalendarItem

Represents an Exchange calendar item.

Conditions

Represents the conditions that, when fulfilled, will trigger the rule actions for that rule.

Contact

Represents an Exchange contact item.

Conversation

Represents a single conversation.

DistributionList

Represents a distribution list.

Exceptions

Represents all the available rule exception conditions for the Inbox rule.

Item

Represents an item in the Exchange store.

MeetingCancellation

Represents a meeting cancellation in the Exchange store.

MeetingMessage

Represents a meeting in the Exchange store.

MeetingRequest

Represents a meeting request in the Exchange store.

MeetingResponse

Represents a meeting response in the Exchange store.

Message

Represents an Exchange e-mail message.

Task

Represents a task in the Exchange store.

Text Value

A text value that represents a Boolean value is required. A value of true means that the item or conversation has at least one visible attachment. A value of false means that the item or conversation either has no attachments or has only hidden attachments.

Remarks

The HasAttachments property is calculated from the Boolean AllAttachmentsHidden MAPI property. If an item does not have an attachment, the AllAttachmentsHidden property does not exist. If all the attachments on the item are hidden, the AllAttachmentsHidden property is true. The AllAttachmentsHidden property is false if it has at least one attachment and at least one of the attachments is visible. Use the AllAttachmentsHidden MAPI property for searching, grouping, and sorting items.

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services of the Client Access server.

Element Information

Namespace

https://schemas.microsoft.com/exchange/services/2006/types

Schema Name

Types schema

Validation File

Types.xsd

Can be Empty

False