2.2.1.58.5 PidTagRetentionDate Property

Type: PtypTime ([MS-OXCDATA] section 2.11.1)

The PidTagRetentionDate property ([MS-OXPROPS] section 2.923) specifies the date, in UTC, after which a Message object is expired by the server. The PidTagRetentionDate property can be present only on Message objects, not on folders. If the property is not present, the Message object never expires. The PidTagRetentionDate property can be set by both client and server.

The value of the PidTagRetentionDate property is calculated from the values of other properties. The values used in the calculation depend on whether the Message object has a specific retention policy. (A Message object will have the default retention policy in the absence of a specific retention policy.) The explicit method of calculation is as follows:

  • When the Message object has a specific retention policy:

PidTagRetentionDate = PidTagMessageDeliveryTime ([MS-OXOMSG] section 2.2.3.9) + PidTagRetentionPeriod (section 2.2.1.58.3). If the PidTagMessageDeliveryTime property does not exist, the PidTagCreationTime property (section 2.2.2.3) is used.

  • When the Message object has the default retention policy:

PidTagRetentionDate = PidTagMessageDeliveryTime + default retention period. If the PidTagMessageDeliveryTime property does not exist, the PidTagCreationTime property is used.

Show: