Skip to content

Get metering groups

Gets a list of metering groups.

GetMeteringGroups() as ArrayList

None

The function returns an array of Metering Group items. Each element (grp) in the array is a joined line with the character defined with Set splitter.

  • grp.Name
  • grp.Version
  • grp.Vendor
  • grp.AppCode
  • grp.Description
  • grp.MeteringModule
  • grp.GUID
  • grp.ID

VBScript

Set oCMS = CreateObject("CapaInstaller.SDK")
Set aUnit = CreateObject("System.Collections.ArrayList")
wscript.echo oCMS.SetDefaultManagementPoint("1")
Set aUnit = oCMS.GetMeteringGroups()
for each item in aUnit
wscript.echo item
next