Skip to content

CMS\_GetUninstallSource

Returns which source has initiated the uninstall. License Consolidation or Administrative tool

:vb: CMS_GetUninstallSource(sPackage) as Boolean

:ps: Not supported

sPackage (String)

Name of package

:vb: Boolean, TRUE if function completed successfully. The result will be stored in gsValue and it will be either ‘lc’ or ‘Console’

If bStatus Then bStatus = CMS_GetUninstallSource(GetContainer)
If bStatus Then xStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines