Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

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

Get statistical information about consumers with specified parameters.

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

# Syntax

    public ConsumerInfo[] GetConsumersStatistics(
    	long connectionID,
    	string username,
    	DestinationInfo destination
    )

    Public Function GetConsumersStatistics ( _
    	connectionID As Long, _
    	username As String, _
    	destination As DestinationInfo _
    ) As ConsumerInfo()

    public:
    array<ConsumerInfo^>^ GetConsumersStatistics(
    	long long connectionID,
    	String^ username,
    	DestinationInfo^ destination
    )

#### Parameters

connectionID
  Type: System..::.Int64
  consumer connection ID or null.

username
  Type: System..::.String
  consumer user name or null.

destination
  Type: TIBCO.EMS.ADMIN..::.DestinationInfo
  consumer destination pattern or null.

#### Return Value

array of ConsumerInfo objects with statistical data or null if no consumers found or statistics are disabled.

# Exceptions

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

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace