Set instance management point
Description
Section titled “Description”Sets an instance Management Point to use with other SDK functions that require a Management Point within the instance of the SDK.
The setting applies only to the SDK object you call it on, and only while your script runs. It isn’t saved. Call it once, right after you create the SDK object and before you call other functions. If you don’t call it, functions that need a Management Point use the default Management Point configured on the computer that runs the script.
Syntax
Section titled “Syntax”SetInstanceManagementPoint(Byval ManagementPointID as String) as Boolean
Parameters
Section titled “Parameters”ManagementPointID (String)
The numeric Id of the Management Point to set, for example "1".
Return value
Section titled “Return value”Boolean. Returns true if the management point is set. If the Id isn’t numeric, the function raises an error.
The function doesn’t check that a Management Point with the Id exists. If it doesn’t, the functions you call afterwards fail.
Example
Section titled “Example”Dim bStatusDim oCMS
Set oCMS = CreateObject("CapaInstaller.SDK")bStatus = oCMS.SetInstanceManagementPoint("1")Related functions
Section titled “Related functions”The management point Id can be retrieved with the function Get management points.