Skip to content

Count conscom actions

Counts the number of conscom actions.

CountConscomActions(Optional Byval ManagementServerID as Integer = 0) as Integer

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.

Integer. The number of conscom actions found.

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")

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()