Collapse All Expand All

.NET Framework Class Library
DestinationInfo Class See Also

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

Add a new import transport to the list of transports this destination imports messages from.

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

# Syntax

    public void AddImportTransport(
    	string transportName
    )

    Public Sub AddImportTransport ( _
    	transportName As String _
    )

    public:
    void AddImportTransport(
    	String^ transportName
    )

#### Parameters

transportName
  Type: System..::.String
  the name of the transport.

# Remarks

If the current list of transports has been inherited from a parent destination then adding a transport will stop the inheritance and the inherited transports will all be removed from the list and replaced with the new one. From then on ImportTransportsInherited will indicate that the transports are no longer inherited and future calls to addImportTransport will simply add new transports to the list.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if transportName is not a legal transport name

# See Also

DestinationInfo Class
TIBCO.EMS.ADMIN Namespace