PR_AGING_PERIOD

PR_AGING_PERIOD

Represents the number of time units 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: 0x36EC
Property type: PT_LONG
Property tag: 0x36EC0003
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_PERIODand PR_AGING_GRANULARITY. PR_AGING_GRANULARITY represents the time unit that PR_AGING_PERIOD is expressed in, when determining this length of time.

The following are the possible values of PR_AGING_GRANULARITY:

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 two weeks, then PR_AGING_GRANULARITY is AG_WEEKS and PR_AGING_PERIOD is 2.

See Also

About MAPI Additions

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