Nevron Open Vision Documentation
Nevron.Nov.Schedule Namespace / NRecurrenceRule Class / GetEndDateForMaxOccurrences Method


In This Topic
    GetEndDateForMaxOccurrences Method
    In This Topic
    Gets the effective range end of this recurrence rule for the given number of occurrences.
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetEndDateForMaxOccurrences( _
       ByVal appointmentStart As System.Date, _
       ByVal appointmentEnd As System.Date, _
       ByVal maxOccurrences As System.Integer _
    ) As System.Date
    'Usage
     
    
    Dim instance As NRecurrenceRule
    Dim appointmentStart As System.Date
    Dim appointmentEnd As System.Date
    Dim maxOccurrences As System.Integer
    Dim value As System.Date
     
    value = instance.GetEndDateForMaxOccurrences(appointmentStart, appointmentEnd, maxOccurrences)
    protected virtual System.DateTime GetEndDateForMaxOccurrences( 
       System.DateTime appointmentStart,
       System.DateTime appointmentEnd,
       System.int maxOccurrences
    )

    Parameters

    appointmentStart
    appointmentEnd
    maxOccurrences
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also