PrtService.ItemCount (Property Read)

Syntax

PrtService.ItemCount

Description

Integer property to get the number of items find by a previous GetItemList or LocateItem call.

Example

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