CommonDatabaseFunctionsHasExpired Method |
Determine whether an object has expired due to its end date.
Namespace: Scanjour.Workflow4.BaseAssembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic static bool HasExpired(
DateTime? endDate
)
Public Shared Function HasExpired (
endDate As DateTime?
) As Boolean
public:
static bool HasExpired(
Nullable<DateTime> endDate
)
static member HasExpired :
endDate : Nullable<DateTime> -> bool
Parameters
- endDate NullableDateTime
- The end date of the object.
Return Value
BooleanTrue, if the end date is specified and the current data and time is after the specified end date. In any other case
false is returned.
See Also