[TIBCO.EMS .NET Admin client library 5.1 documentation]
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)
Get the info for the topics that match the given pattern
and the given permanence type, (that can be either of the
RequestDestInfo types)
that is an indication to return topics only of specified types.
Namespace:
TIBCO.EMS.ADMINAssembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)
Syntax
public TopicInfo[] GetTopics( string pattern, RequestDestInfo permanenceType ) |
Public Function GetTopics ( _ pattern As String, _ permanenceType As RequestDestInfo _ ) As TopicInfo() |
public: array<TopicInfo^>^ GetTopics( String^ pattern, RequestDestInfo permanenceType ) |
Parameters
- pattern
- Type: System..::.String
The pattern that must be matched
- permanenceType
- Type: TIBCO.EMS.ADMIN..::.RequestDestInfo
The permanenceType can be either RequestDestInfo.DestGetNoTemp, RequestDestInfo.DestGetStatic, RequestDestInfo.DestGetDynamic RequestDestInfo.DestGetAll.
Return Value
The TopicInfos that match the pattern and permanenceType
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 all the topics if permanenceType is DestGetAll.
Exceptions
Exception | Condition |
---|---|
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred. |
System..::.ArgumentException | if permanenceType is invalid |