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

Bind the topic for the given topic name to the given JNDI name.

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

Syntax

public void BindTopic(
	string name,
	string topicName
)
Public Sub BindTopic ( _
	name As String, _
	topicName As String _
)
public:
void BindTopic(
	String^ name, 
	String^ topicName
)

Parameters

name
Type: System..::.String
The JNDI name to which the topic will be bound.
topicName
Type: System..::.String
The name of the topic to bind.

Exceptions

ExceptionCondition
TIBCO.EMS.ADMIN..::.AdminExceptionif not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminNameExistsException if the JNDI name is already in use.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException if name and topicName are legal names.

See Also