Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
Terminates the current connection to an EDMserver. If an open EDMserver session exists this open EDMserver session will be closed by this operation.
All open repositories and open models will be closed before the disconnection is executed in order to ensure consistency in the actual EDMdatabase.
No access to an EDMserver will be possible until a new connection is established by invoking either the edmiConnect or sdaiOpenSession function.
The execution of sdaiCloseSession function will implicitly close an existing connection to an EDMserver.
Related functions: edmiConnect , sdaiOpenSession , sdaiCloseSession , edmiCloseDatabase
Header:
#include "sdai.h"
Prototype:
EdmiError edmiDisconnect(void);
Returns:
A completion code of data type EdmiError is the returned function value. The completion code has the following values:
Completion code = 0 : Operation successfully performed.
Completion code != 0: Error in operation. Completion code is an EDMinterface error code. Use edmiGetErrorText to get the error text corresponding to the error code.
EXAMPLE
...
edmiDisconnect();
/* Disconnected from EDMdatabase */

  • No labels