[TIBCO.EMS .NET Admin client library 7.0 documentation]

Returns all consumers in the server. Returned array may be of 0 length if there are no consumers in the server. Returned consumers are not sorted and placed in the array in any order. Application may need to sort the consumers in application-specific order if required. This method is equivalent to calling method GetConsumers(null,null,null,false,0). Refer to the documentation of {GetConsumers(Object, String, DestinationInfo, Boolean, Int32)} for detailed information.

Namespace:  TIBCO.EMS.ADMIN
Assembly:  TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

Syntax

public ConsumerInfo[] GetConsumers()
Public Function GetConsumers As ConsumerInfo()
public:
array<ConsumerInfo^>^ GetConsumers()

Return Value

array of all consumers in the server or array of 0 length.

Exceptions

ExceptionCondition
TIBCO.EMS.ADMIN..::.AdminExceptionif not authorized or an error occurred.

See Also