This post is more than 5 years old
1 Rookie
•
56 Posts
0
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?
- Must I set ".xset.retention.base.duration.policy" ?
- 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.
No Events found!
gstuartemc
2 Intern
•
417 Posts
0
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.