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

Get the statistical information for the topics that match the given pattern.

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

Syntax

public TopicInfo[] GetTopicsStatistics(
	string pattern,
	int cursorPosition,
	int cursorSize
)
Public Function GetTopicsStatistics ( _
	pattern As String, _
	cursorPosition As Integer, _
	cursorSize As Integer _
) As TopicInfo()
public:
array<TopicInfo^>^ GetTopicsStatistics(
	String^ pattern, 
	int cursorPosition, 
	int cursorSize
)

Parameters

pattern
Type: System..::.String
The pattern that must be matched
cursorPosition
Type: System..::.Int32
The cursorPosition can be Admin.DEST_CURSOR_FIRST, Admin.DEST_CURSOR_NEXT, Admin.DEST_CURSOR_LAST
cursorSize
Type: System..::.Int32
The cursorSize must be greater than zero. Note that the operation may return less than the requested size.

Return Value

array of TopicInfo objects with statistical data or null if no topics found or statistics are disabled or when cursor complete.

Remarks

The pattern may contain the wildcards "*" and ">". See the TIBCO EMS documentation for how wildcards work in topic names. A pattern of "", ">", or null will return statistics for all the topics. One can start, continue or complete a cursored scan of queues.

Exceptions

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

See Also