CMS_GetUninstallSource

Description

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

Syntax

CMS_GetUninstallSource(sPackage) as Boolean

Not supported

Parameters

sPackage (String)

Name of package

Return value

Boolean, TRUE if function completed successfully. The result will be stored in gsValue and it 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)

Scripting Guidelines

Related functions