Click or drag to resize
IEarliestCancellationDateCalculateEarliestCancellationDate Method

[This is preliminary documentation and is subject to change.]

Calculates earliest cancellation date.

Namespace: Netadmin.Management.Provisioning.Algorithms
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
Nullable<DateTime> CalculateEarliestCancellationDate(
	int noticeTimeMonths,
	DateTime currentTime
)

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: NullableDateTime
A datetime for earliest cancellation date or null if there is no restriction
See Also