Get unit description
Description
Section titled “Description”Get the description for a unit
Syntax
Section titled “Syntax”GetUnitDescription(ByVal unitName As String, ByVal unitType As String) As String
Parameters
Section titled “Parameters”UnitName (String)
The name of the unit
UnitType (String)
Type of Unit
- “Computer”
- “User”
Return value
Section titled “Return value”String. The function returns the description for the unit.
Example
Section titled “Example”Set oCMS = CreateObject("CapaInstaller.SDK")wscript.echo oCMS.SetInstanceManagementPoint("1")wscript.echo oCMS.GetUnitDescription("Klient", "Computer")