Skip to content

CMS_UninstallPackageFromUnitById

Uninstalls package from unit. The status of the package for the unit is set to Uninstall in CapaInstaller, and the agent uninstalls the package.

The package must be linked to the unit. Otherwise, the function fails.

CMS_UninstallPackageFromUnitById(sID) As Boolean

ID of the package (JobId from the JOB table)

Boolean, TRUE if function completed successfully.

If bStatus Then bStatus = CMS_UninstallPackageFromUnitById("126")

Scripting Guidelines

CMS_UninstallPackageFromUnit Constants Package Property Variables Business Unit support