Occurrences Property (RecurrencePattern)
In This Topic
The number of occurrences for the recurrence pattern. This field allows the definition of a recurrence pattern that is only valid for the specified number of subsequent occurrences. For example, you can set this property to 10 for a formal training course that will be held on the next ten Thursday evenings. The default value is 0. This field must be coordinated with other fields when setting up a recurrence pattern. If the "patternEndDate" field or the "occurrences" field is set, the pattern is considered to be finite and the "noEndDate" field is false. If neither "patternEndDate" nor "occurrences" is set, the pattern is considered infinite and "noEndDate" is true.
Syntax
'Declaration
Public Property Occurrences As System.Integer
public System.int Occurrences {get; set;}
See Also