PrtService.Region (Function)

Syntax

PrtService.Region(index )

Description

Returns a region at the specified index from the list which was found by a previous call to GetRegionList.

Example

Dim ServiceA as new PrtService
ServiceA.Id = "SERVICEA_DC"
' Get a list of regions in the service and display them one by
'   one in a message box.
ServiceA.GetRegionList
for j = 0 to ServiceA.RegionCount - 1
      MsgBox ServiceA.Region(j).Id
next j