'Declaration
<NotNullAttribute()> Public Function GetRanges( _ ByVal startDateTime As Date, _ ByVal endDateTime As Date _ ) As ReadOnlyCollection(Of DateTimeRange)
[NotNull()] public ReadOnlyCollection<DateTimeRange> GetRanges( DateTime startDateTime, DateTime endDateTime )
[NotNull()] public: ReadOnlyCollection<DateTimeRange^>^ GetRanges( DateTime startDateTime, DateTime endDateTime )
Parameters
- startDateTime
- The starting date/time (inclusive) of the time period to check. Specify in the time zone of the adTempus server.
- endDateTime
- The ending date/time (inclusive) of the time period to check. Specify in the time zone of the adTempus server.
Return Value
A collection of all date/time ranges within the specified time period that match the rules defined by this Exclusion Period.