Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

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

Bind an object already bound to an existing JNDI name to a new JNDI name.

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

# Syntax

    public void Bind(
    	string newName,
    	string existingName
    )

    Public Sub Bind ( _
    	newName As String, _
    	existingName As String _
    )

    public:
    void Bind(
    	String^ newName,
    	String^ existingName
    )

#### Parameters

newName
  Type: System..::.String
  The new name that will be bound to the object currently bound to the existing name.

existingName
  Type: System..::.String
  The name that is currently bound to the object.

# Remarks

The object will be bound to both names after this call.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminNameExistsException | if the JNDI name is already in use.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if the JNDI names are not legal.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace