Back to product page

ServicesFiltered property


Returns collection of services filtered by the category.

Syntax

  • Basic
object.ServicesFiltered (Category)
The ServicesFiltered(object,Category) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
CategoryEmpty.

Remarks

This property will create collection of all the services on the server that provide required Category. You can use it to easily isolate only servies you actually need. For example, you can get collection of all gateways on the system using
wodXMPP1.ServicesFiltered(CatGateway)

or you can perform search queries on any service in this collection
wodXMPP1.ServicesFiltered(CatDirectory)

Returned collection is a subset of Services collection. Result with 0 items can be returned, if no service is in requested category.

Platforms

Windows