This function returns the services loaded on the basis of the selected filter.
object.LoadServicesByFilter(aFilter)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
aFilter |
In, Required | The object that defines conditions for
filtering |
Display the number of the services loaded on the basis of the selected filter and their descriptions.
Dim aFilter
Dim aService
Dim aServices
Dim aMessage
Set aFilter = Profile.CreateServicesFilter
aFilter.Description = "Injection"
set aServices = Profile.LoadServicesByFilter(aFilter)
aMessage = "Services Count = " & aServices.Count & vbNewLine
for i = 0 to aServices.Count - 1
set aService = aServices.Item(i)
aMessage = aMessage & vbNewLine & "The description of the service is " &_
aService.Description
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Services can be found in
.