Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

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

Get the bridge from a given destination.

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

# Syntax

    public BridgeInfo GetBridge(
    	DestinationType type,
    	string name
    )

    Public Function GetBridge ( _
    	type As DestinationType, _
    	name As String _
    ) As BridgeInfo

    public:
    BridgeInfo^ GetBridge(
    	DestinationType type,
    	String^ name
    )

#### Parameters

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

name
  Type: System..::.String
  the name of the source destination

#### Return Value

the BridgeInfo object representing the bridge.

# Exceptions

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

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace