[TIBCO.EMS .NET Admin client library 6.0 documentation]
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)
Get all the bridges known to the server where the source destination is
of a given type and the source destination name matches the given
pattern.
Namespace:
TIBCO.EMS.ADMINAssembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)
Syntax
public BridgeInfo[] GetBridges( DestinationType type, string pattern ) |
Public Function GetBridges ( _ type As DestinationType, _ pattern As String _ ) As BridgeInfo() |
public: array<BridgeInfo^>^ GetBridges( DestinationType type, String^ pattern ) |
Parameters
- type
- Type: TIBCO.EMS.ADMIN..::.DestinationType
the type of source destination, either DestinationType.Queue to return only bridges from queues, DestinationType.Topic to return only bridges from topics, or DestinationType.All types to return bridges from both queues and topics.
- pattern
- Type: System..::.String
a filter to restrict the bridges that are returned to only those whose name matches the pattern, null indicates all bridges.
Return Value
all the matching bridges.
Exceptions
Exception | Condition |
---|---|
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred. |
System..::.ArgumentException | if type is invalid |