Parameters
- fromDateTime
- The date from which to calculate the number of months.
The return value depends on MaximumExpirationDate but not on DefaultValidityPeriodInMonths.
This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.