# tibemsDestination_GetType

Function

## Purpose

Get the type of a destination object.

## C Declaration

    tibems_status tibemsDestination_GetType(
        tibemsDestination destination,
        tibemsDestinationType* type );

## COBOL Call

    CALL "tibemsDestination_GetType"
         USING BY VALUE destination,
               BY REFERENCE type,
               RETURNING tibems-status
    END-CALL.

Note: `destination` has usage pointer.

## Parameters

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

## See Also

`tibemsDestinationType`

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