/
Get log
Get log
Description
Returns a log for a unit package relation.
Syntax
GetLog(Byval UnitName as String, Byval UnitType as String, Byval PackageName as String, Byval PackageVersion as String, Byval PackageType as String) as String
Parameters
UnitName (String)
The name of the unit
UnitType (String)
The type of the unit
PackageName (String)
The name of the package
PackageVersion (String)
The version of the package
PackageType (String)
The package type;
- "1" (Computer)
- "2" (User)
Return value
If successfull, the function returns the logfile from the installation of the specified package for the specified unit
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") wscript.echo oCMS.SetDefaultManagementPoint("1") wscript.echo oCMS.GetLog("Client","Computer","Winrar","v3.0","1")
, multiple selections available,
Related content
Log_SubmitLogs
Log_SubmitLogs
More like this
Log_RegisterLogfile
Log_RegisterLogfile
More like this
Log_RegisterWellKnownFiles
Log_RegisterWellKnownFiles
More like this
$cs.Log_SectionHeader
$cs.Log_SectionHeader
More like this
Log_RegisterExcludeValue
Log_RegisterExcludeValue
More like this
$cs.Job_WriteLog
$cs.Job_WriteLog
More like this