ServicesFiltered Property
      
 

Description

Returns collection of services filtered by the category.


Property type

A XMPPServices object.  


Syntax

object.ServicesFiltered (Category)



The ServicesFiltered Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodXMPP.
Category Required. An IdentityCategoryEnum value. Determines filter for returned XMPPServices collection.

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.