Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 5.1 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

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.
System..::.ArgumentException | if type is invalid

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace