Set default management point

Description

Sets a default Management Point to use with other SDK functions that requires a Management Point.


Syntax

SetDefaultManagementPoint(Byval ManagementPointID as String) as Boolean


Parameters

ManagementPointID (String)

Id of the management point to set


Return value

Boolean. Returns true if the management point is set. Otherwise false.


Example

VBScript
Dim bStatus 
Dim oCMS 
  
Set oCMS = CreateObject("CapaInstaller.SDK") 
bStatus = oCMS.SetDefaultManagementPoint("1") 


Related functions

GetManagementPoints. The management point Id can be retrieved with the function Get management points.