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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

UnitType (String)

Type of Unit

  • "Computer"
  • "User"

 

Return Value

String. The function returns the description for the unit.

 

Example

VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
wscript.echo oCMS.GetUnitDescription("Klient", "Computer")

 

 

  • No labels