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 服务器 API » 使用 .NET 编写同步脚本 » 用于 .NET 参考的 MobiLink 服务器 API

 

DBConnectionContext 接口

语法
interface DBConnectionContext
Member of iAnywhere.MobiLink.Script
注释

用于获取和访问当前数据库连接相关信息的接口。此接口将被传递到包含脚本的类的构造函数。如果后台线程或在连接生存期以外要求使用上下文,请使用 ServerContext。

有关构造函数的详细信息,请参见构造函数

小心

DBConnectionContext 实例不能在调用 .NET 代码的线程之外使用。


GetConnection 方法
GetDownloadData 方法
GetServerContext 方法
GetProperties 方法
GetRemoteID 方法
GetVersion 方法