Version

MaxOccurrenceDateTime Property (ActivityBase)

A date-time value that's equal or greater than the date-time of the last occurrence of the recurring activity.
Syntax
'Declaration
 
Public Property MaxOccurrenceDateTime As Nullable(Of Date)
public Nullable<DateTime> MaxOccurrenceDateTime {get; set;}
Remarks

MaxOccurrenceDateTime field is used to optimize retrieval of recurring activities by excluding recurring activities whose date ranges as defined by the Start and MaxOccurrenceDateTime field values do not intersect with the date range for which activities are being retrieved.

In the absense of MaxOccurrenceDateTime value, recurring activities are assumed to potentially recur forever and thus subject to evaluation when retrieving activities for a date range.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also