SaaS CMS has officially launched! Learn more now.

Class ActivityOptions

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Contains various options that can be used to configure how activities should be handled within CMS

Inheritance
System.Object
ActivityOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.Activities.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
[Options]
public class ActivityOptions

Constructors

ActivityOptions()

Declaration
public ActivityOptions()

Properties

ArchiveRetentionPeriod

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the number of months that activities should remain archived before they are deleted.

Declaration
public int ArchiveRetentionPeriod { get; set; }
Property Value
Type Description
System.Int32
Remarks

The default value is 12 months. A value of zero (0) indicates that activities should be deleted immediately. A negative value indicates that the archive should be kept indefinitely (not recommended).

Methods

IsArchivingEnabled()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets an value indicating if archiving of activities should be enabled.

Declaration
public bool IsArchivingEnabled()
Returns
Type Description
System.Boolean

Extension Methods