Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

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

Get the destination bridges for all source destinations that match the given source type and source pattern.

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

# Syntax

    public DestinationBridgeInfo[] GetDestinationBridges(
    	DestinationType sourceType,
    	string sourcePattern
    )

    Public Function GetDestinationBridges ( _
    	sourceType As DestinationType, _
    	sourcePattern As String _
    ) As DestinationBridgeInfo()

    public:
    array<DestinationBridgeInfo^>^ GetDestinationBridges(
    	DestinationType sourceType,
    	String^ sourcePattern
    )

#### Parameters

sourceType
  Type: TIBCO.EMS.ADMIN..::.DestinationType
  the type of the source, either DestinationType.Queue, DestinationType.Topic or DestinationType.All

sourcePattern
  Type: System..::.String
  a pattern or destination name

#### Return Value

an array of DestinationBridgeInfo objects that match the source pattern and type

# Remarks

The source type can be either DestinationType.Queue, DestinationType.Topic or DestinationType.All. The source pattern may contain the wildcards "*" and ">" . See the Tibjms documentation for how wildcards work in destination names. A pattern of "", ">", or null will return the destination bridges from all the queues if sourceType is DestinationType.Queue or from all the topics if sourceType is DestinationType.Topic.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if sourcePattern or sourceType are not valid

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace