RetentionDuration Class

Definition

Retention duration.

public class RetentionDuration
type RetentionDuration = class
Public Class RetentionDuration
Inheritance
RetentionDuration

Constructors

RetentionDuration()

Initializes a new instance of the RetentionDuration class.

RetentionDuration(Nullable<Int32>, String)

Initializes a new instance of the RetentionDuration class.

Properties

Count

Gets or sets count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.

DurationType

Gets or sets retention duration type of retention policy. Possible values include: 'Invalid', 'Days', 'Weeks', 'Months', 'Years'

Applies to