Page tree
Skip to end of metadata
Go to start of metadata

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 

 

 

  • No labels