Get unit management server relation
Description
Returns a unit's linked management server.
Syntax
GetUnitManagementServerRelation(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 containing the path to the server
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") wscript.echo oCMS.SetDefaultManagementPoint("1") wscript.echo oCMS.GetUnitManagementServerRelation("client","Computer")Â