Recurrence.YearlyRegenerationPattern Class

Definition

Represents a regeneration pattern, as used with recurring tasks, where each occurrence happens a specified number of years after the previous one is completed.

public: ref class Recurrence::YearlyRegenerationPattern sealed : Microsoft::Exchange::WebServices::Data::Recurrence::IntervalPattern
public sealed class Recurrence.YearlyRegenerationPattern : Microsoft.Exchange.WebServices.Data.Recurrence.IntervalPattern
Public NotInheritable Class Recurrence.YearlyRegenerationPattern
Inherits Recurrence.IntervalPattern
Inheritance
Recurrence.YearlyRegenerationPattern

Constructors

Recurrence.YearlyRegenerationPattern()

Initializes a new instance of the Microsoft.Exchange.WebServices.Data.Recurrence.YearlyRegenerationPattern class.

Recurrence.YearlyRegenerationPattern(DateTime, Int32)

Initializes a new instance of the Microsoft.Exchange.WebServices.Data.Recurrence.YearlyRegenerationPattern class.

Properties

EndDate

Gets or sets the date after which the recurrence ends. Setting EndDate resets NumberOfOccurrences.

(Inherited from Recurrence)
HasEnd

Gets a value indicating whether the pattern has a fixed number of occurrences or an end date.

(Inherited from Recurrence)
Interval

Gets or sets the interval between occurrences.

(Inherited from Recurrence.IntervalPattern)
NumberOfOccurrences

Gets or sets the number of occurrences after which the recurrence ends. Setting NumberOfOccurrences resets EndDate.

(Inherited from Recurrence)
StartDate

Gets or sets the date and time when the recurrence start.

(Inherited from Recurrence)

Methods

IsSame(Recurrence)

Compares two objects by converting them to JavaScript Object Notation (JSON) and comparing their string values. The IsSame(Recurrence) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from Recurrence)
NeverEnds()

Sets up this recurrence so that it never ends.

(Inherited from Recurrence)

Applies to