Get metering groups
Description
Gets a list of metering groups.
Â
Syntax
GetMeteringGroups() as ArrayList
Parameters
None
Â
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
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
Â
Â