PrtService.GroupCount (Property Read)

Syntax

PrtService.GroupCount

Description

Integer property to get the number of Groups found by a prior call to GetGroupList.

Example

Dim ServiceA as new PrtService
ServiceA.Id = "SERVICE_A"
' Get a list of groups in the service and display them one by
'   one in a message box.
ServiceA.GetGroupList
for j = 0 to ServiceA.GroupCount - 1
     MsgBox ServiceA.Group(j).Id
next j