PrtService.Item (Function)

Syntax

PrtService.Item(index)

Description

Returns an Item at the specified index from the list which was found by a previous call to GetItemList.

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).ItemId

next j

More information

PRT Object Model member list.