Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

3511

December 30th, 2008 14:00

XAM Retention

How do I find the value of an entry in .xsystem.retention.duration.policy.list   Those fields are string values. I need the corresponding xam_int.

Any code samples on how to apply one of these policies to an XSet?

  1. Must I set ".xset.retention.base.duration.policy"   ?
  2. Or can I simply set ".xset.retention. .enabled" where is one from the list on US. For example, set ".xset.retention.30days.enabled" to TRUE.

2 Intern

 • 

417 Posts

January 5th, 2009 06:00

Hi Adam - you cannot obtain the values. You would apply the policy and then use XSet_GetActualRetentionDuration to determine what the effective value is.

If you do not specify a base retention policy then default values will be inserted by the XSystem.

You cannot "set" a policy on the XSet object, it must be applied using the XSet_ApplyRetentionDurationPolicy API.

No Events found!

Top