PR_AGING_GRANULARITY

PR_AGING_GRANULARITY

Represents the time unit that is used in determining the length of time an item remains in a folder before the item is archived.

Quick Info

Exposed by: Folder objects
Identifier: 0x36EE
Property type: PT_LONG
Property tag: 0x36EE0003
Access: Read/write

Remarks

The length of time that an item remains in a folder before the item is archived is determined by two properties, PR_AGING_PERIOD and PR_AGING_GRANULARITY. PR_AGING_PERIOD represents the number of time units that the item remains in the folder before it is archived.

The following are the possible values of this property:

AG_MONTHS - PR_AGING_PERIOD is defined in number of months.

AG_WEEKS - PR_AGING_PERIOD is defined in number of weeks.

AG_DAYS - PR_AGING_PERIOD is defined in number of days.

For example, if a folder archives an item only after the item has been in the folder for five days, then PR_AGING_GRANULARITY is AG_DAYS and PR_AGING_PERIOD is 5.

See Also

About MAPI Additions

How to: Save Auto-Archive Properties of a Folder in Solution Storage