Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回当前服务器环境。
Public Function GetServerContext() As ServerContext
public ServerContext GetServerContext()
此 MobiLink 服务器的 ServerContext。
此方法可以用来创建新连接或与 boot 类进行交互。
以下示例显示如何获取 DBConnectionContext 的 ServerContext 实例并关闭服务器。
// A method that uses an instance of the ServerContext to shut down the server public void ShutDownServer() { ServerContext context = _cc.GetServerContext(); context.Shutdown(); }