WeeklyRetentionSchedule Constructors

Definition

Overloads

WeeklyRetentionSchedule()

Initializes a new instance of the WeeklyRetentionSchedule class.

WeeklyRetentionSchedule(IList<Nullable<DayOfWeek>>, IList<Nullable<DateTime>>, RetentionDuration)

Initializes a new instance of the WeeklyRetentionSchedule class.

WeeklyRetentionSchedule()

Initializes a new instance of the WeeklyRetentionSchedule class.

public WeeklyRetentionSchedule ();
Public Sub New ()

Applies to

WeeklyRetentionSchedule(IList<Nullable<DayOfWeek>>, IList<Nullable<DateTime>>, RetentionDuration)

Initializes a new instance of the WeeklyRetentionSchedule class.

public WeeklyRetentionSchedule (System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.DayOfWeek?> daysOfTheWeek = default, System.Collections.Generic.IList<DateTime?> retentionTimes = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionDuration retentionDuration = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.WeeklyRetentionSchedule : System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.RecoveryServices.Backup.Models.DayOfWeek>> * System.Collections.Generic.IList<Nullable<DateTime>> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionDuration -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.WeeklyRetentionSchedule
Public Sub New (Optional daysOfTheWeek As IList(Of Nullable(Of DayOfWeek)) = Nothing, Optional retentionTimes As IList(Of Nullable(Of DateTime)) = Nothing, Optional retentionDuration As RetentionDuration = Nothing)

Parameters

daysOfTheWeek
IList<Nullable<DayOfWeek>>

List of days of week for weekly retention policy.

retentionTimes
IList<Nullable<DateTime>>

Retention times of retention policy.

retentionDuration
RetentionDuration

Retention duration of retention Policy.

Applies to