Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 6.1 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

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.

# See Also

Admin Class
GetConsumers Overload
TIBCO.EMS.ADMIN Namespace