Prt.Service (Function)

Syntax

Prt.Service

Description

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

Example

Dim prt as new Prt

' Get a list of services from PRT

'    and display them one by one in a message box.

prt.GetServiceList

for j = 0 to prt.ServiceCount - 1

      MsgBox prt.Service(j).Id

next j

More information

PRT Object Model member list.