Returns a list of the module versions and their information with a published date and time older than the specified value and that are kept stored in the database. Currently published versions, tagged versions, and versions of which the user does not have publish permissions are not returned. The logged user needs to have 'Change & Deploy' permissions for the module.

Throws an exception when the logged user doesn't have permissions or the module doesn't exist.

Input parameters

OlderThan: mandatory; DateTime type.
Date and time that indicates the point of time (exclusive) until when module versions from the database are to be returned.

ModuleName: optional; Text type.
The name of the module. If not specified, returns module versions of modules with any name.

ModuleTypeId: optional; ModuleType Identifier type.
The type of the module. If not specified, returns module versions of modules of any type.

MaxNumberOfVersions: optional; Integer type.
The maximum number of versions to get. If not specified, returns the oldest 100 module versions. Set to 0 (zero) to get all the module versions.

Output parameters

ModuleVersions: ModuleVersionInfo List type.
List of module versions, with their information, that have been published until the specified date and time and are kept stored in the database.

HasMoreVersions: Boolean type.
Returns True if there are more module versions than the ones listed. Otherwise, returns False.

See Also

DbCleaner API Overview