Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Get the description for a unit 

 


Syntax

GetUnitDescription(ByVal unitName As String, ByVal unitType As String) As String

 


Parameters

UnitName (String)

The name of the unit

...

Type of Unit

  • "Computer"
  • "User"

 


Return Value

String. The function returns the description for the unit.

 


Example

Code Block
languagevb
themeEclipse
languagevb
titleVBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
wscript.echo oCMS.GetUnitDescription("Klient", "Computer")