# tibemsConsumerInfo_GetDestinationType

Function

## Purpose

Get consumer's destination type.

## C Declaration

    tibems_status tibemsConsumerInfo_GetDestinationType(
        tibemsConsumerInfo consumerInfo,
        tibemsDestinationType* type);

## COBOL Call

    CALL "tibemsConsumerInfo_GetDestinationType"
     USING BY VALUE consumerInfo,
           BY REFERENCE destType,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`consumerInfo` | Get the destination type of this consumer.
`type` | The function stores the destination type in this location.

## See Also

`tibemsDestinationType`

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