Skip to content

CMS_GetLinkedPackages

The function returns which packages is linked to the current Unit

CMS_GetLinkedPackages() As Boolean

Boolean, TRUE if function completed successfully. The result is stored in gaValue as an array. Each element has the format <package name>$<version>$<status>$<last run date>$<last status change>. If no packages are linked to the unit, gaValue is an empty array.

If bStatus Then bStatus = CMS_GetLinkedPackages()
For index = LBound(gaValue) to UBound(gaValue)
xStatus = Job_WriteLog("Custom", "Index #" & index & ": '" & cStr(gaValue(index)) & "'", bStatus, True)
Next

Scripting Guidelines

Constants Package Property Variables Business Unit support