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

 

ServerContext 接口

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

MobiLink 服务器工作期间出现的所有上下文的实例化。上下文可以作为静态数据保存,并在后台线程中使用。它在 MobiLink 调用的 .NET CLR 期间有效。

要访问 ServerContext 实例,请使用 DBConnectionContext.getServerContext 方法。


GetStartClassInstances 方法
LogCallback ErrorListener 事件
LogCallback InfoListener 事件
LogCallback WarningListener 事件
MakeConnection 方法
ShutDown 方法
ShutdownListener 方法
getProperties 方法
getPropertiesByVersion 方法
getPropertySetNames 方法