CMS\_GetUninstallSource
Description
Section titled “Description”Returns which source has initiated the uninstall. License Consolidation or Administrative tool
Syntax
Section titled “Syntax”:vb: CMS_GetUninstallSource(sPackage) as Boolean
:ps: Not supported
Parameters
Section titled “Parameters”sPackage (String)
Name of package
Return value
Section titled “Return value”:vb: Boolean, TRUE if function completed successfully. The result will be stored in gsValue and it will be either ‘lc’ or ‘Console’
Example
Section titled “Example”:vb: VBScript
Section titled “:vb: VBScript”If bStatus Then bStatus = CMS_GetUninstallSource(GetContainer)If bStatus Then xStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)