Get metering groups
Description
Section titled “Description”Gets a list of metering groups.
Syntax
Section titled “Syntax”GetMeteringGroups() as ArrayList
Parameters
Section titled “Parameters”None
Return value
Section titled “Return value”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
Example
Section titled “Example”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 itemnext