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

SQL Anywhere 11.0.0 » MobiLink - Client Administration » Introduction to SQL Anywhere Clients for MobiLink » Dbmlsync API » Dbmlsync API for .NET


Disconnect method

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

Boolean Disconnect()

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

Return value

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.