CMS_GetUninstallSource
Description
Returns which source has initiated the uninstall. License Consolidation or Administrative tool
Â
Syntax
CMS_GetUninstallSource(sPackage) as Boolean
Â
Parameters
sPackage (String)
Name of package
Â
Return value
Result will be stored in gsValue. The result will be either 'lc' or 'Console'
Â
Example
VBScript
If bStatus Then bStatus = CMS_GetUninstallSource(GetContainer) If bStatus Then xStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)
Â