Count conscom actions
Description
Section titled “Description”Counts the number of conscom actions.
Syntax
Section titled “Syntax”CountConscomActions(Optional Byval ManagementServerID as Integer = 0) as Integer
Parameters
Section titled “Parameters”ManagementServerID (Integer)
The ID of the management server to count conscom actions for. This parameter is optional. If you omit it or set it to 0, conscom actions for all servers are counted.
To find the ID of a management server, use Get management servers.
Return value
Section titled “Return value”Integer. The number of conscom actions found.
Example 1
Section titled “Example 1”In this example, the number of conscom actions for the management server with id = 3 is returned
Set oCMS = CreateObject("CapaInstaller.SDK")wscript.echo oCMS.SetInstanceManagementPoint("1")wscript.echo oCMS.CountConscomActions("3")Example 2
Section titled “Example 2”In this example, the number of conscom actions for all management servers is returned
Set oCMS = CreateObject("CapaInstaller.SDK")wscript.echo oCMS.SetInstanceManagementPoint("1")wscript.echo oCMS.CountConscomActions()