Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
为 MobiLink 服务器返回 ServerContext。
ServerContext DBConnectionContext.getServerContext()
MobiLink 服务器上下文。
以下示例说明如何获得 [DBConnectionContext] 的 [ServerContext] 实例。本示例假设您已有名为 [_cc] 的 [DBConnectionContext] 实例。
// A method that uses a ServerContext instance to shut down the server public void shutDownServer() { ServerContext context = _cc.getServerContext(); context.shutdown(); }