public ServerContext getServerContext( )
Returns the ServerContext for this MobiLink server.
The ServerContext for this MobiLink server.
The following example shows you how to get the ServerContext instance for a DBConnectionContext and shut down the server.
This example assumes you have a DBConnectionContext instance called _cc.
// A method that uses an instance of the ServerContext to shut down the server public void shutDownServer() { ServerContext context = _cc.getServerContext(); context.shutdown(); } |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |