Page tree
Skip to end of metadata
Go to start of metadata

Description

Sets the description for a unit 


Syntax

SetUnitDescription(ByVal unitName As String, ByVal unitType As String, ByVal description As String) As Boolean


Parameters

UnitName (String)

The name of the unit

UnitType (String)

Type of Unit

  • "Computer"
  • "User"

Description(String)

The description of the unit


Return Value

Boolean. The function returns True if successful, otherwise false.


Example

VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
wscript.echo oCMS.SetUnitDescription("Klient", "Computer", "Description of the unit")



  • No labels