IEarliestCancellationDateCalculateEarliestCancellationDate Method |
[This is preliminary documentation and is subject to change.]
Calculates earliest cancellation date.
Namespace: Netadmin.Management.Provisioning.AlgorithmsAssembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
SyntaxNullable<DateTime> CalculateEarliestCancellationDate(
int noticeTimeMonths,
DateTime currentTime
)
Function CalculateEarliestCancellationDate (
noticeTimeMonths As Integer,
currentTime As DateTime
) As Nullable(Of DateTime)
Parameters
- noticeTimeMonths
- Type: SystemInt32
The number of months of notice configured on the service - currentTime
- Type: SystemDateTime
The current time and date
Return Value
Type:
NullableDateTimeA datetime for earliest cancellation date or null if there is no restriction
See Also