PrtService.RegionCount (Property Read)

Syntax

PrtService.RegionCount

Description

Integer property to get a count of the number of Tracking Regions found by a prior GetRegionList call.

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