Function ziAPIDisconnect#

ZIResult_enum ziAPIDisconnect(ZIConnection conn)#

Disconnects an established connection.

Disconnects from Data Server. If the connection has not been established and the function is called it returns without doing anything.

See Connection for an example

Parameters:

conn[in] Pointer to ZIConnection to be disconnected

Returns:

  • ZI_INFO_SUCCESS

  • Other return codes may also be returned, for a detailed error message use ziAPIGetLastError.