IBM Integration Bus, Version 10.0.0.3 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


cniElementType

Use this function to get the value of the type attribute for the specified syntax element. You must set the syntax element type previously by using cniSetElementType or cpiSetElementType.

Syntax

CciElementType cniElementType(
  int*         returnCode,
  CciElement*  targetElement);

Parameters

returnCode
The return code from the function (output).
Possible return codes are:
  • CCI_SUCCESS
  • CCI_EXCEPTION
  • CCI_INV_ELEMENT_OBJECT
targetElement
The address of the target syntax element object (input).

Return values

The value of the target element type is returned. If an error occurs, CCI_FAILURE is returned, and the returnCode parameter indicates the reason for the error.


as07900_.htm | Last updated 2015-11-27 00:00:26