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

SQL Anywhere 11.0.1 (中文) » MobiLink - 客户端管理 » 用于 MobiLink 的 SQL Anywhere 客户端 » Dbmlsync API » 用于 .NET 的 Dbmlsync API

 

Disconnect 方法

断开使用 Connect 方法创建的、与 dbmlsync 服务器的连接。

语法
Boolean Disconnect()
注释

当您用完连接之后,一定要调用 Disconnect。

返回值

如果成功断开了到此服务器的连接,则返回 true。

如果无法断开到此服务器的连接,则返回 false。返回 false 时,您可调用 GetErrorInfo 方法获取有关失败的详细信息。请参见GetErrorInfo 方法