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

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.ADMIN
Assembly:  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

ExceptionCondition
TIBCO.EMS.ADMIN..::.AdminExceptionif not authorized or an error occurred.
System..::.ArgumentException if type is invalid

See Also