PrtService.Group (Function)

Syntax

PrtService.Group(index )

Description

Returns a group at a specified index from the list which was found by a previous 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