# tibemsSubscriptionInfo_GetTopicName

Function

## Purpose

Get the topic name that this subscription is for.

## C Declaration

    tibems_status tibemsSubscriptionInfo_GetTopicName(
        tibemsSubscriptionInfo subscriptionInfo,
        char* topicName,
        tibems_int topicNameLength);

## COBOL Call

    CALL "tibemsSubscriptionInfo_GetTopicName"
     USING BY VALUE subscriptionInfo,
           BY REFERENCE topicName,
           BY VALUE topicNameLength,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`subscriptionInfo` | Get the topic name that this subscription is for.
`topicName` | Copy the topic name in this buffer.
`topicNameLength` | Length of the `topicName` buffer.

Copyright © Cloud Software Group, Inc. All rights reserved.