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

Create a topic based on the parameters from the given TopicInfo.

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

Syntax

public TopicInfo CreateTopic(
	TopicInfo topic
)
Public Function CreateTopic ( _
	topic As TopicInfo _
) As TopicInfo
public:
TopicInfo^ CreateTopic(
	TopicInfo^ topic
)

Parameters

topic
Type: TIBCO.EMS.ADMIN..::.TopicInfo
The description of the topic to be created.

Return Value

The fully configured TopicInfo from the server.

Exceptions

ExceptionCondition
TIBCO.EMS.ADMIN..::.AdminExceptionif not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameExceptionif the name of the topic is not a legal topic name.
TIBCO.EMS.ADMIN..::.AdminNameExistsExceptionif a topic already exists with the given name.

See Also