Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » MobiLink - Client Administration » SQL Anywhere Clients for MobiLink » Dbmlsync API » Dbmlsync API for C++

 

Disconnect method

Breaks the connection with a dbmlsync server created using the Connect method.

Syntax
bool Disconnect(  )
Remarks

You should always call Disconnect when you are finished with a connection.

Returns

Returns true if the connection to the server is broken successfully.

Returns false if the connection to the server could not be broken. When false is returned, you can call the GetErrorInfo method to get more information about the failure. See GetErrorInfo method.